C#

C# IF ListBox Arrays 2D Arrays Read File Example 1 Example Midterm 1 Example Midterm 2 Example 5 Example 7 Group Project 2 Example 9 Group Project 2
O O

Weather Controls

Time Of Day
Rain
Wind Speed
Wind Direction
Clouds

C# : 2D Arrays

2017-01-01

Declaring / Initializing 2D Array

string[,] robs2DArray;
robs2DArray = new int[3,10];

//or

string[,] robs2DArray = new string[5,4];

//or

int[,] numbers = new int[3, 2] { {1, 2}, {3, 4}, {5, 6} };
//aka
int[,] numbers = { {1, 2}, {3, 4}, {5, 6} };

//string
string[,] siblings = new string[2, 2] { {"Mike","Amy"}, {"Mary","Albert"} };

loop throuh each array item

TODO