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
Give some examples for built in datatypes in c#?
Is boxing an implicit conversion?
What are the benefits of using generics in c#?
List down the differences between public, static and void keywords?
When should we use sealed class in c#?
What is decimal in c#?
Is multilevel inheritance possible in c#?
Do loops c#?
Which programming language is best for desktop applications?
How are methods overloaded?
What is difference between ienumerable and list in c#?
Why do we parse in c#?
What is xaml in c#?
What do you mean by expression tree?
How do I stop my console from closing in c#?