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

Define a jagged array in c#?

845


What is event sourcing in c#?

922


What is the use of console application in c#?

861


What sort algorithm does c# use?

855


What is console based application?

907


What is the use of 'as' Keyword in C# ?

963


What is meant by enumerable in c#?

896


What is an array? Give the syntax for a single and multi-dimensional array?

846


How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?

872


List the difference between the virtual method and the abstract method?

835


What are cshtml files?

827


What is difference between continue and break in c#?

902


What is the name of c# compiler?

1076


What is a private method in c#?

961


What is sqladapter c#?

898