Guest User

Untitled

a guest
Jan 16th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. var result = arrayWord.Distinct();// Пытался так удалить дубликаты но выводит
  2.  
  3. string[] source = new [] {
  4. "asdf",
  5. "asdf1",
  6. "asdf",
  7. "123",
  8. "1234",
  9. "123",
  10. "123",
  11. };
  12.  
  13. var result = source.GroupBy(x => x).Select(x => x.Key);
Add Comment
Please, Sign In to add comment