//Visual Basic 2010 Meerdimensionale Arrays Arrays public class Example1 { void Main() { int rowCount = 2; int columnCount = 3; int upperboundFirstDimension = (rowCount - 1); int upperboundSecondDimension = (columnCount - 1); int[] matrix = new int[0]; this.matrix(0, 0) = 10; this.matrix(1, 0) = 20; this.matrix(1, 2) = 30; Console.WriteLine(("first row, first column : " + this.matrix(0, 0))); Console.WriteLine(("second row, first column : " + this.matrix(1, 0))); Console.WriteLine(("second row, second column : " + this.matrix(1, 1))); Console.WriteLine(("third row, third column : " + this.matrix(1, 2))); Console.ReadLine(); } } //Bezoek www.vbvoorbeelden.be voor meer C# voorbeelden. //Copyright - De Wolf / vbvoorbeelden - 2003-2011 - Alle rechten voorbehouden.