04/06/2015 by Nitesh

How To Sort A Dictionary Object by Values in C#

Friends, Microsoft .Net provides us with classes like SortedDictionary that allows the elements of a Dictionary class to be sorted by Keys. However, in some scenarios we want the Dictionary elements to be sorted by the values present in each element. Today, in this post we will see how can we sort a Dictionary Object…

Continue Reading »