Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.32 KB | None | 0 0
  1.             foreach (var item in dict.OrderByDescending(x => x.Value.Sum(y => y.Value)).ThenByDescending(x => x.Key.Count()))
  2.             {
  3.                 foreach (var drawf in item.Value)
  4.                 {
  5.                     Console.WriteLine($"({item.Key}) {drawf.Key} <-> {drawf.Value}");
  6.                 }
  7.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement