Tech Off Post

Single Post Permalink

View Thread: How do you output the contents of a Dictionary class?
  • User profile image
    evildictait​or

    If you want to sort it, that's easy too

    foreach(var key in dictionary.Keys.SortBy( ... ) )
    {
      var value = dictionary[key];
      // output value however you want.
    }