Let's say I have 4 arrays:
[1,3,54,4]
[54,2,3,9]
[3,2,9,54]
[54,8,4,3]
I need to get the objects (in this case integers but they will be custom object) that are present in (common to) all of the arrays. In the case above I would need the result to be: [54,3] as those are the only items two that are in all four arrays. Order does not matter, speed matters greatly, array sizes and the number of arrays will vary greatly. I'm using C# 4 and ASP.NET. The arrays will be List although they could just be converted.
Thanks :)