how to access the index of a list in C# code example Example: c# get index of item in list Array.IndexOf(arrName, searchingFor)