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 purpose of private constructor in c#?
what is IFormatable
What is file extension of webservices?
What is a hash table c#?
What is a .exe extension files? How is it similar to .dll extension files?
How can you set image source dynamically from c# application to ”test.png” file?
What is the default value of datetime in c#?
what optimizations does the c# compiler perform when you use the /optimize+ compiler option?
What is wrong with the sample program below?
Which is better interface or abstract class in c#?
Is c# static or dynamic?
If I return out of a try/finally in c#, does the code in the finally-clause run?
What is difference between array and arraylist c#?
What is the adv of using System.Text.StringBuilder over System.String?
What do you mean by winforms in c#?