C# Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 253 Page Views: 

How do you create 2 dimensional array?



Posted By: Avi Date: 14 October 2010 10:25:31 AM
 Answer:

string[,] array = new string[10,5];


Posted By: avibtech


Date: 14 October 2010 10:25:31 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image 6MVwH6
Related Questions
C# : Is it possible to store multiple data types in System.Array object?
C# : What is the difference between String and StringBuilder type?

What is the difference between String and StringBuilder type?

String type is immutable while a StringBuilder type is mutable. StringBuilder objects performs bette....
Category: C# Date: 10/15/2009 4:12:05 AM
C# : What is the difference between a Struct and a Class?

What is the difference between a Struct and a Class?

Following are the two major differences between a Struct and a Class: 1) Struct is a value type whi....
Category: C# Date: 10/13/2009 11:20:40 PM
C# : Explain using statement?

Explain using statement?

We create an object intance in a "using" statement to ensure that "Dispose" is c....
Category: C# Date: 9/30/2009 7:12:51 AM
C# : The C# keyword "int" maps to which .Net type?

The C# keyword "int" maps to which .Net type?

System.Int32
Category: C# Date: 9/4/2009 9:04:37 PM