how to get an item in a list at index c# code example
Example 1: c# get index of item in list
Array.IndexOf(arrName, searchingFor)
Example 2: Get Index position of an element in a list in c#
int index = myList.FindIndex(a => a.Prop == oProp);
Array.IndexOf(arrName, searchingFor)
int index = myList.FindIndex(a => a.Prop == oProp);