I have a situation where I have generated a number of lists which contain integer values. However, the number of these lists is only known at runtime, and i
// lists is a sequence of all lists from l1 to ln
if (!lists.Any())
return new List();
IEnumerable r = lists.First();
foreach(List list in lists.Skip(1))
r = r.Intersect(list);
return r.ToList();