var result = Myclass.GetNumbers(someInputVal);
say - result contains [0] - {1,2,3}
[1]- {4,5,6}
public static IEnumerable
{
List
// Number processing done here
return result;
}
And I have another List of int[], say result1
Code
Listint[]> result1 = new Listint[]> {
new int[]{1,2,3}
,new int[]{7,8,9}
};SQL
Now, How do I compare result with result1 and exclude the value which are common between result and result1 from resultCode
So, the result list should have only {{4,5,6} .I am not sure how will I be able to achieve this efficiently. I will have many InputSet's that I will need to check in the "result".
Appreciate your help.

VulpesRank #55 · 29.2K reputationPosted Nov 8, 2012, 12:59 AM EST
I've assumed that the order of the integer array is significant i.e. for two arrays to be considered equal, their corresponding elements should be equal:
Deer Park39 reputationPosted Dec 2, 2012, 9:50 AM EST