Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach (Dwarf dwarf in dwarves.OrderByDescending(x => x.Physics).ThenByDescending(x => dwarves.Count(y => y.Color == x.Color)))
- {
- Console.WriteLine($"({dwarf.Color}) {dwarf.Name} <-> {dwarf.Physics}");
- }
Advertisement
Add Comment
Please, Sign In to add comment