axeefectushka

Untitled

Feb 21st, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.27 KB | None | 0 0
  1. using System.Collections.Generic;
  2. using System.Linq;
  3.  
  4. public static class Kata
  5. {
  6.   public static IEnumerable<string> MyLanguages(Dictionary<string, int> results)
  7.   {
  8.     return results.Where(x => x.Value >= 60).OrderByDescending(x => x.Value).Select(x => x.Key);
  9.   }
  10. }
Add Comment
Please, Sign In to add comment