c# check if index exists in list code example Example: c# check if index exist int index = 25; if(index < array.Length) { //it exists }