find in c# list 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: list search c#
list.Where(x => x.Name == "theName");
return list;