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

What is assembly version series sequence?

538


List down the fundamental oop concepts?

498


What is difference between array and arraylist c#?

455


What is the base class for array types?

562


Is unity object oriented?

490






Can You Prevent Your Class From Being Inherited By Another Class?

545


What is icomparable in c#?

520


Which is faster dictionary or list?

540


How do you name a variable in c#?

501


What is boxing & unboxing?

565


Explain the ways to deploy an assembly?

506


Explain the difference between the system.array.copyto() and system.array.clone()?

492


Why is it efficient to use System.string under System.Text.StringBuilder ?

523


What are annotations in c#?

521


Can we have only “try” block without “catch” block in c#?

475