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

Give some examples for built in datatypes in c#?

552


Is boxing an implicit conversion?

545


What are the benefits of using generics in c#?

482


List down the differences between public, static and void keywords?

468


When should we use sealed class in c#?

494






What is decimal in c#?

505


Is multilevel inheritance possible in c#?

480


Do loops c#?

502


Which programming language is best for desktop applications?

461


How are methods overloaded?

543


What is difference between ienumerable and list in c#?

455


Why do we parse in c#?

468


What is xaml in c#?

505


What do you mean by expression tree?

450


How do I stop my console from closing in c#?

460