Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var first = new int[] { 0, 1, 6, 4, 5, 6, 4, 9, 8 };
- var second = new int[] { 4, 5, 1 };
- var seconds = second.ToList();
- first.Where(i=>seconds.Remove(i)).SequenceEqual(second).Dump();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement