// int index = any index which you need to check if exists in array if(index < array.Length) { Console.WriteLine(array[index]); }