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 many types of constructors are there?

670


How much time will it take to learn unity?

660


What is the difference between const and static read-only?

669


What is difference between float and decimal?

706


Why do we need interface in c#?

698


Is javascript harder than c#?

682


Are structs value types or reference types?

741


What do you mean by a windows process in regards to memory allocation?

712


Give examples for value types?

685


What is the predicate of a sentence?

645


What is the solution if you need to manipulate sets of items?

655


what is the difference between .dll and .exe

718


Explain how can you clean up objects holding resources from within the code?

672


What is reflection in c#?

646


What is the size of a decimal?

792