c# get index of item in list

C#
Array.IndexOf(arrName, searchingFor)
Source

Also in C#: