0 10 20 30 40 50 60 70 80 90 100 0
You are not logged in

Welcome to type with code

Start typing or press to get going!

The csharp code you'll be racing to type out is all about:

Create a 2D array

If an array is like a list of data, a 2d array is like a grid of data where the data is stored in one variable but organised into rows and columns like a spreadsheet.

This example stores details of 3 different fruit for a supermarket.

It will then display the colour of the first fruit.

The first index will select the row then the second index selects the column