Contact: aviboots(AT)netvision.net.il
39,870 questions
51,793 answers
573 users
using System; class Program { static void Main() { int[] array = { 3, 91, 7, 8, 99, 10}; int index = 5; if (index >= 0 && index < array.Length) { Console.Write("Not out of range"); } } } /* run: Not out of range */