Twenty C# Questions Explained: (19) How do I sort a dictionary by value?

Sign in to queue

The Discussion

  • User profile image
    MitsAt​Channel9

    Hi,

    I did not get what is the use of below line of code in your code example??

    List<KeyValuePair<string, string>> sortList = diction.ToList();

    Can you explain me??

Add Your 2 Cents