Here is a simple example of that:
string[] arString = null;
arString = new string[2];
arString[0] = "First Element";
arString[1] = "Second Element";
foreach (string s1 in arString)
{
Console.WriteLine(s1);
}
No comments:
Post a Comment