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