index out o range when creating a new array code example Example: out of range array index int index = 25; if(index < array.Length) { //it exists }