string[] textlist = new string[] {"a", "b", "c"};
var intersecting = from string a in textlist
from string b in textlist
where ((a != b) && (a.CompareTo(b) == -1)) // && a.SomeCondition(b)
select new { object1 = a, object2 = b }
;
intersecting.Dump("Result");
Kishor Makwana
Software Engineer
Insight Softech
www.insightsoftech.com