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 ?

Answers were Sorted based on User's Feedback



Does C# supports multi-dimensional arrays ?..

Answer / 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

Does C# supports multi-dimensional arrays ?..

Answer / nagesh

C# supports single-dimensional arrays, multidimensional
arrays (rectangular arrays), and array-of-arrays (jagged
arrays).

Please refer the msdn site for more information:
http://msdn2.microsoft.com/en-us/library/aa288453
(VS.71).aspx

Is This Answer Correct ?    8 Yes 1 No

Does C# supports multi-dimensional arrays ?..

Answer / ankita

Explain how Multidimensional Arrays are used in a Visual
Basic application

Is This Answer Correct ?    0 Yes 3 No

Does C# supports multi-dimensional arrays ?..

Answer / swapna

No c# does not supports Multidimensional arrays.

Jagged arrays are used in c# but they are not always
rectangular like normal multidimensional arrays.

jagged arrays are of different dimensions and mostly Jagged
array are created out of single dimensional arrays .

Is This Answer Correct ?    4 Yes 30 No

Post New Answer

More C Sharp Interview Questions

What is difference between virtual and override in c#?

0 Answers  


What is dictionary and hashtable in c#?

0 Answers  


Why do we use generics in c#?

0 Answers  


Is array reference type in c#?

0 Answers  


Is visual c# free?

0 Answers  


List the fundamental oop concepts?

0 Answers  


what are the different ways a method can be overloaded?

0 Answers   Siebel Systems,


what is a constructor? What is a destructor?

0 Answers  


What does return do in unity?

0 Answers  


What is the difference between cookies and session?

7 Answers   ADITI, Infinity, Infotech, VBV, Web Connect,


Explain About Iunknown interface Queue

0 Answers   DELL,


Can we have private constructor in our class file. When we are trying to create instance for the class will it create or throw error regarding that?

5 Answers  


Categories