Creating Rectangular Arrays using c#

Madhu.b.rokkam
Posted by Madhu.b.rokkam under C# category on | Points: 40 | Views : 1580
 static void Main(string[] args)
{
int[,] mulArr = new int[,]
{
{4,3,2,1},
{5,6,7,8},
{1,2,3,4}
};
float result = mulArr[0, 1];
Console.WriteLine(result); // Result = 3
Console.Read();
}

Comments or Responses

Login to post response