c# display array length when a number is inputted : I want to input a number which corresponds to the length of an array and I want the number at that position to be displayed 

int[] array1 = {0,6,7,8,5};


            
            Console.WriteLine("ENter the length");

            int[] array1 = { 0, 6, 7, 8, 5 };

            int lenght = Int32.Parse(Console.ReadLine());

            for (int i = 0; i <= lenght; i++)
            {
                lenght = array1.Length;
                Console.WriteLine(lenght);
                Console.ReadLine();

            }

I expect the output of 2 to be 7 but I can't seem to figure it out