public static void Main()
Console.Write("Въведи броя на елементите в масива:");
int n = Convert.ToInt32(Console.ReadLine());
int[] array = new int[n];
Console.Write("Въведи {0} на борй елемента за масива :\n", n);
for(int i = 0; i< n; i++)
Console.Write("елемент - {0} : ", i);
array[i] = Convert.ToInt32(Console.ReadLine());
Console.Write("\nЕлементите на масива са: ");
for(int i = 0; i< array.Length; i++)
Console.Write("{0} ", array[i]);