How to sort a dictionary by its value

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi <br/> <br/> I would like to sort the next dictionary by its value:<br/> <br/>
<pre lang="x-c# Dictionary<string,int> dict = new Dictionary<string,int>();[/code]
After adding several values i want to sort this by the int values.<br/> <br/> Regards

View the full article
 
Back
Top