What is array and its types in c#?



What is array and its types in c#?..

Answer / Yatendra Kumar Nagar

An array is a collection of elements of the same type. In C#, there are three main types of arrays: single dimension (traditional) arrays, multidimensional arrays, and jagged arrays.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Define parsing? Explain how to parse a datetime string?

1 Answers  


Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.

1 Answers  


What is the default value of date?

1 Answers  


What is parallel foreach c#?

1 Answers  


Define thread? Explain about multithreading?

1 Answers  


What is a protected class in c#?

1 Answers  


Explain what is the smallest unit of execution in .net?

1 Answers  


Give an example to show for hiding base class methods?

1 Answers  


What is the use of system.environment class in c#.net?

1 Answers  


Explain the Usage of web.config

1 Answers   Microsoft,


What is difference between C# and VB.NET?

1 Answers   CDC,


FOR EXAMPLE : CLASS Dotnet { } creating object: Dotnet dn=new Dotnet(); NOW THE QUESTION IS WHICH IS CALLED AS OBJECT ?EITHER dn OR new Dotnet() and CAN YOU PROVE YOUR ANSWER?????PLEASE REPLY...

1 Answers  


Categories