For the following two lines of codes of C#, what would be equivalent in C++ CLI? xList and yList is a generic List and can be of type int or double.
Do I need to implement something from scratch using some sorting algorithm and so on?
var newList = xList.Except(yList);
var new2List = xList.Intersect(yList);