Код: Выделить всё
List DeleteElements(this List a, List b);
Код: Выделить всё
List values = new List() { 1, 2, 3 };
List expected = new List() { 1 };
List actual = values.DeleteElements(new List() { 2, 3 });
Assert.Exact(expected, actual);
Код: Выделить всё
List DeleteElements(this List a, List b);
Код: Выделить всё
List values = new List() { 1, 2, 3 };
List expected = new List() { 1 };
List actual = values.DeleteElements(new List() { 2, 3 });
Assert.Exact(expected, actual);