searching in list c# code example
Example 1: 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];
Example 2: list search c#
list.Where(x => x.Name == "theName");
return list;