c# list to get value based on index code example Example: c# get index of item in list Array.IndexOf(arrName, searchingFor)