how to find index of a string in a list of class c# code example Example: c# get index of item in list Array.IndexOf(arrName, searchingFor)