+ 1

Hey can anyone help me with.net c# collections problems.

C#

17th Dec 2019, 11:26 AM
LearnerLipi
LearnerLipi - avatar
6 Answers
+ 2
Sure, what is your question ? List are really handy, to keep track of a group of object. You can add items, remove items and find items. Print the whole list and lots of other things. https://code.sololearn.com/cRvLqMMr9GIK
17th Dec 2019, 7:44 PM
sneeze
sneeze - avatar
+ 1
It's linq c# .net Thanks sneeze though
18th Dec 2019, 3:32 AM
LearnerLipi
LearnerLipi - avatar
+ 1
Please start a new question with linq and c# in the tags. Please make it as descriptive as possible. There are many people here that can answer linq questions. They need to know want you want to know or do not understand. https://code.sololearn.com/cVYvZtG605J1/?ref=app
18th Dec 2019, 7:04 AM
sneeze
sneeze - avatar
+ 1
How to find max value in dictionary with string key?
18th Dec 2019, 9:28 AM
LearnerLipi
LearnerLipi - avatar
+ 1
first create a dictionairy with a string TKey and a int TValue. https://www.dotnetperls.com/dictionary var dictionary = new Dictionary<string, int>(); fill the dictionary with some values. find a way to get the maxvalue https://stackoverflow.com/questions/10290838/how-to-get-max-value-from-dictionary/44638772 https://code.sololearn.com/cKwX5DS572P4 Are you required to use linq or is it allowed to use the Max method.
18th Dec 2019, 2:15 PM
sneeze
sneeze - avatar
+ 1
Thanks it helped sneeze
19th Dec 2019, 3:38 PM
LearnerLipi
LearnerLipi - avatar