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

Explain the difference between access specifier and access modifier in c#?

979


Give 2 scenarios where static constructors can be used?

924


Are arrays value types or reference types?

922


In gridview in editmode if we want to display information in one combobox based on

2290


How does c# achieve polymorphism?

932


List the different stages of a thread?

880


How to exclude a property from xml serialization?

1009


Why do we parse in c#?

877


Which program construct must return a value?

1064


what is the difference between interface and multiple interface?

1060


What is Inheritance in C#?

1163


What is method in c#?

876


Give examples for value types?

945


What is the C# syntax to catch any possible exception?

933


Does the system.exception class have any cool features?

1019