Guest User

Untitled

a guest
Apr 25th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. var res = Table
  2. .Where(r => r.discreption==2000 })
  3. .GroupBy(x => x.SomeProperty)
  4. .Select(x => x.First());
  5.  
  6. var res = Table
  7. .Where(r => r.discreption==2000 })
  8. .Distinct().ToList();
Add Comment
Please, Sign In to add comment