Miyerkules, Enero 11, 2012

C# ConApp 2: Multi Array

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace ConsoleApplication1


{
class Program
{
static void Main(string[] args)
{
int[,] twodim = new int[3, 3];
int[, ,] threedim = {
{{1,2}, {3,4}},
{{4,6}, {7,8}},
{{9,10}, {11,12}}


};
Console.WriteLine (threedim [0,1,1]);
Console.ReadLine();




}
}
}

Walang komento:

Mag-post ng isang Komento