I have a bool variable and a dictionary if this is true, then I will use a special key The price will have to increase.
My code:
Private zero process (person) {SendMailSuccessful = true; If (SendMailSuccessful) {MyDictionary.Where (i = & gt; i.Key == person.personID); // I have to increase the value of that ID from 1}}
Why are you Using the LINQ picture, and not just the indicator of the dictionary?
Something like this
MyDictionary [person.personID] + = 1;
Comments
Post a Comment