Arrays

Ranjeet_8
Posted by Ranjeet_8 under C# category on | Points: 40 | Views : 1888
using System;
using System.Collections;

namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
string[] Erec = new string[2];

Erec[0] = "ASD";
Erec[1] = "FGH";
Erec[2] = "JKL";
Erec[3] = "QWE";

foreach(string str in Erec)
Console.WriteLine(str);
Console.ReadLine();
}
}
}

Comments or Responses

Login to post response