Is array reference type / value type ?
Answer Posted / sajan
All array types are implicitly derived from System.Array,
which itself is derived from System.Object. This means that
all arrays are always reference types which are allocated on
the managed heap, and your app's variable contains a
reference to the array and not the array itself.
Is This Answer Correct ? | 29 Yes | 0 No |
Post New Answer View All Answers
What is the difference between throw and throw ex?
What is arraylist c#?
Can we set image Source dynamically using C# in WPF application?
What is the main purpose of linq?
What is the difference between struct and class in c#?
Why do we need structs in c#?
What is the difference between dictionary and hashtable in c#?
What are async and await?
Can we inherit a private class in c#?
Can you instantiate a struct without using a new operator in c#?
Explain get and set accessor properties?
What is callback in c#?
Define a strong name in .net?
What is multiple interface in c#?
Which is faster iqueryable or ienumerable?