What is difference between value and reference types ?

Answer Posted / nitin kumar tomar

Value types directly contain their data while reference
types store a references to variable's value memory
and value types uses stack to store data amd reference
types use heap to store data

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of jit ? Jit (just - in - time) is a compiler which converts msil code to

718


What are the advantages of generics in c#?

687


What is the difference between field and property in c#?

690


what is an exception in .net?

700


Explain the process of Serialization?

751


how to sort an array in c#

752


What is “using” statement in c#?

662


Name some properties of thread class.

765


Is array a list?

658


What is a reference type c#?

702


What is a c sharp?

645


What is before string in c#?

691


Define satellite Assembly in .NET?

752


What is the difference between an implicit conversion and an explicit conversion?

690


What is parameterized constructor?

695