c# list return indexes of the elements that code example Example: c# get index of item in list Array.IndexOf(arrName, searchingFor)