using System; //namespace declaration
public class Program
{
public static void Main(string[] args)
int[] i = new int[3]; //declaration of an array in the mem
Console.WriteLine(" enter elements of an array");
for (int j = 0; j <= i.Length; j++)
i[j] = int.Parse(Console.ReadLine());
}
foreach (int k in i)
Console.WriteLine();
Console.WriteLine("your array elements are {0}", k);