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