Is array reference type / value type ?

Answer Posted / zohaib brohi

option 1: int arrayone[6];

option 2 : int[] arraytwo = new int[6];

my question is are both options of arrays are refrence type or not? or which option is of which type ?

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How Do You Convert A Value-type To A Reference-type?

524


In .NET how can you solve the DLL Hell problem?

673


Are structs value types or reference types?

571


Explain the difference between abstract class and interface in .net?

475


Why do we need abstraction in c#?

495






What is extended class in c#?

476


Is exe is machine dependent?

500


What is sqlconnection in c#?

501


What is activator c#?

480


What do you mean by generic class in c#?

498


What is unmannaged code and will CLR handle this kind of code or not .

594


Can we customize the serialization process?

526


What are the advantages of clr procedure over t-sql procedure?

599


How does dependency injection work c#?

502


What is the difference between firstordefault and singleordefault?

484