Is array reference type / value type ?

Answer Posted / albarhami

Array is a reference type because its getting stored in a
managed memory i.e a heap

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of delegates in c#?

480


Why do we use partial class in c#?

489


What are Uses of CLR

536


Why do we use inheritance in c#?

488


What is the difference between “constant” and “readonly” variables in c#?

505






How we can create an array with non-default values?

514


How does the clr work?

501


Explain the difference between a namespace and assembly name in .net?

503


What is this keyword in C#?

588


Why do we use interface in c#?

484


What is console readkey ()?

527


What do you understand by 'access specifiers' in C#?

524


Can you inherit from multiple classes in c#?

455


Define clr in .net?

569


What is icomparable in c#?

530