What is difference between value and reference types?

Answer Posted / surya

Value Type holds the data within this own memory allocation.

where as Reference Type contains a pointer to another
memory location that holds the data.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is c# command?

697


Can you create partial delegates and enumerations?

776


What is executescalar in c#?

626


What are the steps for creating clr trigger

768


What is difference between ienumerable and list?

717


Which is more efficient for loop or while loop?

634


Explain deadlock?

673


What is token in c#?

726


What is a concrete class in c#?

738


Is it possible to have a static indexer in c#?

705


What is the difference between values and reference types?

690


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

622


Is it possible to have different access modifiers on the get/set methods of a property in c#?

763


What is console programming language?

678


What is variable and its classification?

706