what are value types and reference types? where they are stored?

Answer Posted / vaibhav

value type are variable of premitive data types like
int,float struct & refrence type are the instace of user
defied datatype like class,string, etc.
value type vatiable are stored on
stack ,refrence type variable are stored on heap.

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the functionalities of satellite assembly?

629


Name the control which cannot be placed in mdi?

566


State two different types of access modifiers.

645


What is the full form of GAC? Explain its uses?

659


What is verbatim literal in c#?

574






What does firstordefault mean in c#?

571


Is overriding of a function possible in the same class?

544


What are the types of operator?

528


What is the use of delegates in c#?

550


How does c# generics and c++ templates compare?

556


What are delegates?

873


What is use of abstract class in c#?

588


What is the difference between abstract and abstraction?

519


What is difference between override and new in c#?

590


What are the different types of assembly?

649