find list in list c# code example
Example 1: c# find element in list of list
var element = (from sublist in userList
from item in sublist
where item.uniqueidentifier == someid
select item).FirstOrDefault();
Example 2: how to locate a specific element in a list c#
//7 will be the spot in the list
List<int> intList = new List<int>();
int x = List[7];