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