|
by Keyvan Nayyeri via Keyvan Nayyeri on 8/29/2008 5:06:48 AM
Recently I ran in a situation where I had to get the intersection of multiple generic lists in order to filter my final result. I know that there are several approaches to work around this but I was interested to apply the new Intersect extension method in .NET 3.5 and extend it for multiple lists. I can remember the university days when we had to extend a proven theorem for two objects to N objects and this was somehow similar to that! Here I just want to share a code snippet that I used to a
... [ read more ]
|