How to declares a two-dimensional array in C#?
Answer / Hariom Singh
In C#, you can declare a two-dimensional array by using nested square brackets []. Here's an example:n```csharpnint[,] myArray = new int[3, 4]; // Declares a 2D array with 3 rows and 4 columns```
| Is This Answer Correct ? | 0 Yes | 0 No |
Hello.. This is kali prasad. i wish to learn C#. kindly guide me in making me expert in c#.
What is .net c#?
Why abstract class is not instantiated in c#?
Can we inherit private members of class in c#?
C Sharp
Give an example to show for hiding base class methods?
Can we inherit partial class in c#?
Is predicate a functional interface?
Explain what are three test cases you should go through in unit testing?
What is the difference between do and while loop?
What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?
Is array value type in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)