c# get index of object by field in list code example Example: c# get index of item in list Array.IndexOf(arrName, searchingFor)