How a two-dimensional array declared in C#?



How a two-dimensional array declared in C#?..

Answer / Sachin Kumar Chaubey

A two-dimensional array is declared in C# using two pairs of square brackets. For example: int[,] myArray = new int[3, 4];

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is verbatim string literal in c#?

1 Answers  


How can I make sure my c# classes will interoperate with other .net languages?

1 Answers  


What is a verbatim string literal and why do we use it?

1 Answers  


How do you inherit from a class in C#?

1 Answers  


How to open a new form on button click in Windows forms?

1 Answers   Viscus Infotech,


Explain how is the dll hell problem solved in .net?

1 Answers  


What does virtual keyword mean ?

6 Answers   TCS,


What is difference between comparable and comparator?

1 Answers  


Describe the ways of cleaning up objects in c#.

1 Answers  


What is early binding and late binding

12 Answers   ABC, Infosys, TATA,


What is the use of GC.KeepAlive Method?

1 Answers   HCL,


What is a struct in C#?

1 Answers   Arigo Infotech,


Categories