Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
ali tuncerRank #1,499 · 1.1K reputationPosted Jul 28, 2016, 6:13 PM EDT
do you want to sort values? I think this will work:
colorDictionary = colorDictionary.OrderBy(x => x.Value).ToDictionary(x => x.Key, x => x.Value);
Tapan PatelRank #614 · 3.9K reputationPosted Jul 29, 2016, 6:45 AM EDT