Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Does C# supports multi-dimensional arrays ?

Answer Posted / art?r herczeg

There are 3 types of arrays:

* Single-dimensional arrays:
int[] numbers = new int[5];

* Multidimensional arrays:
string[,] names = new string[5,4];

* Array-of-arrays (jagged):
byte[][] scores = new byte[5][];
for (int x = 0; x < scores.Length; x++)
{
scores[x] = new byte[4];
}

http://msdn.microsoft.com/library/default.asp?url=/library/
en-us/csref/html/vcwlkArraysTutorial.asp

Is This Answer Correct ?    34 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default boolean value in c#?

1008


Explain About .NET Framework

958


How many types of constructors are there?

919


What is extension method in c sharp?

944


What is the difference between as and is operators in c#?

974


Why are strings in c# immutable?

985


Is there an equivalent to the instanceof operator in visual j++?

1008


What do you mean by jagged arrays in c#?

997


Do extension methods have to be static?

1080


What is integer c#?

961


What is the difference between int and int in c#?

1096


What is data type in c# with example?

1104


What language do desktop applications use?

994


Do events have return type c#?

981


Explain the features of an abstract class in net.

1020