In which way a two-dimensional array declared in C#?



In which way a two-dimensional array declared in C#?..

Answer / Pankaj Rathi

In C#, a two-dimensional array can be declared using the following syntax: `type[][] arrayName = new type[rows][columns];`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What are the benefits of using generics in c#?

1 Answers  


How big is an int in c#?

1 Answers  


Which class does the remote object has to inherit?

1 Answers  


Say true or false,Private constructor have object or not?

7 Answers   IBM,


What are value types and reference types?

1 Answers  


What is value type and reference type?

3 Answers   TCS,


What is a delegate how is it type safe?

1 Answers  


What are the security issues if we send a query from the application?

1 Answers   Microsoft,


What is the usage of transponders?

1 Answers   Wipro,


Different between method overriding and method overloading?

1 Answers  


Why are there five tracing levels in System.Diagnostics.TraceSwitcher?

1 Answers  


Does C# supports multi-dimensional arrays?

3 Answers   Microsoft,


Categories