I am trying to remove List<int>
items from List<int>
items2
List<int> item1 = new List<int> {1,2,3,4,5,6,7,8,9,10};
List<int> item2 = new List<int> {1,2,3,4};
After removing the item2 values from item1 the required result is
item1 = {5,6,7,8,9,10 }
Is there any direct method or any other method to remove the contents of one list of items from the content of another list of items, with out using 'for' or 'foreach' ?