c# IDictionaryEnumerator

En curso Publicado hace 7 años Pagado a la entrega
En curso Pagado a la entrega

I have a class that loops through an idictionary and removes some items. The problem is it is throwing exceptions because it is also being altered at the same time items are being removed. I need someone to give me the best case solution. You should be able to change this without actually running any code. I just need the best practice example. Thanks and good luck.

Programación en C#

Nº del proyecto: #10553966

Sobre el proyecto

15 propuestas Proyecto remoto Activo hace 7 años

Adjudicado a:

vahidtavana

You can't modify the collection you are enumerating. Simply make a second collection using ToArray() or ToList() before you enumerate. foreach(var item in [login to view URL]()) { if([login to view URL]) Más

$25 USD en 1 día
(7 comentarios)
5.2

15 freelancers están ofertando un promedio de $25 por este trabajo

logos104

Hi. I have about 15 years of programming experience. Mostly I used C, C++ and C# for my projects development. I can help with the task.

$25 USD en 1 día
(50 comentarios)
5.3
jackvu2612

Hi, I have 5+ years of object-oriented architecture designing, programming and administration experience with success devising software solutions to meet business requirements. - Full-stack developer with C#.NET, MVC Más

$30 USD en 2 días
(14 comentarios)
3.7
pakaimsolutions

Hello, I hope you doing very well! I have gone through the description and would like to provide a quality solution using my 5+ years of professional experience in required skills. (.NET/ASP.NET - MVC, EF, SQL, C#). Más

$25 USD en 1 día
(5 comentarios)
2.9
vkriate

Hi, I am ready to start the project as soon as you hire me. Please visit my profile for more details. Please click on the link to view my profile: http://www.freelancer.in/u/vkriate.html Awaiting your reply. Más

$20 USD en 0 días
(5 comentarios)
2.8
sureshjatlx

I have 9 years of experience of developing professional and high-end business solutions. I assure you to give you highly qualitative, timely delivered and cost-effective software development. I'll appreciate your consi Más

$25 USD en 1 día
(1 comentario)
2.3
sheikDev

Hello, Im interested to help you on this. May i know you using for or foreach in the function. Also Can you share the code snippet for my understanding. I will help you right away. Thanks for your message. Más

$20 USD en 1 día
(4 comentarios)
2.4
NovaSofts

Hello Sir/Mam NovaSofts Inc. is the leading IT Company of Islamabad Pakistan. We have 9+ years of experience and strong knowledge about programming languages Java C++ C C# Android So you don't worry about thir Más

$30 USD en 1 día
(1 comentario)
1.2
Deenario

Its a small Logical error . u just have to close your code with an If statement . that will separate your code from throwing Exception. Its an easy program . Easy logic. i can make it work. Kindly send me a message Más

$25 USD en 1 día
(1 comentario)
1.2
maxtb2

I could connect through your teamviewer and help you solve the exception as well as to explain to you how the solution works. Best regards, Maixm.

$45 USD en 1 día
(0 comentarios)
0.0
MohsanEijaz

It is my great honor to apply for this vacant job. I am very hardworking and can work effectively as fast as I can. I have excellent skills in C++, OPPs, HTML5, CSS3, JS, AJAX, JQYERY, React.js, ANGULAR.JS, BACKBONE.JS Más

$10 USD en 1 día
(0 comentarios)
0.0
CsharpSpecialist

Hey I usually don't take in work without actually being able to run it first. But if you send me the part of code I can have a look at it.

$20 USD en 1 día
(0 comentarios)
0.0
kev001

I am good with advanced C# & CLR related programs, also have done good understanding on .net open source code.

$20 USD en 2 días
(0 comentarios)
0.0