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
Define boxing and unboxing in c#?
What are virtual classes in c#?
what is inheritance and an example in vb.net and c# of when you might use it?
What is the purpose of abstract class in c#?
Explain the use of Mutex in C#?
What does return do in unity?
Can you explicitly call a destructor?
My switch statement works differently! Why?
What is the difference between // comments, /* */ comments and /// comments?
What do you know about Translate Accelerator?
What are the fundamental differences between value types and reference types?
Can you see a loop recorder?
What is bit in c#?
What are sorted lists?
what happens if you inherit multiple interfaces and they have conflicting method names?