using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace TraversalArray
{
class Program
{
static void Main(string[] args)
{
string[,] Department = { { "Sales", "Product", "Engineer" }, { "Warehouse", "Manager", "Resource" } };
foreach (string strDept in Department)
{
Console.WriteLine(strDept);
}
ArrayList myAl = new ArrayList();
myAl.Add("The");
myAl.Add("number");
myAl.Add("is");
myAl.Add(103);
foreach (object objinarr in myAl)
{
Console.WriteLine(objinarr);
}
Console.WriteLine();
}
}
}