Is array reference type / value type?

Answer Posted / kumar vaibhav

array is reference type.it store the elements in heap memory


To Sharifuddin,

Agreed with Shiva, Sharifuddin-Please make sure you r here post your answer not to comment on other.If some one is incorrect you may correct him if you know the answer.Otherwise no need to embrace him on the public portal.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How main method is called in c#?

517


Why do we use methods in c#?

479


What's the difference between an integer and int?

537


Can class inherit from struct c#?

521


What is gac? How to put assembly in gac?

557






Why do I get a syntax error when trying to declare a variable called checked?

554


How can encapsulation be achieved?

604


What is tochararray in c#?

452


Is datetime immutable c#?

504


What does type safety mean?

579


What are satellite assemblies?

561


Why are dynamic link library used over static one?

546


If you define a user defined data type by using the class keyword, is it a value type or reference type?

504


Explain the access modifiers in c#?

493


What is console writeline in c#?

471