Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach (var item in dict.OrderByDescending(x => x.Value.Sum(y => y.Value)).ThenByDescending(x => x.Key.Count()))
- {
- foreach (var drawf in item.Value)
- {
- Console.WriteLine($"({item.Key}) {drawf.Key} <-> {drawf.Value}");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement