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
What is difference between variable and property in c#?
Contrast between an interface and abstract class?
Why can’t struct be used instead of class for storing entity?
write a program to find the biggest palindrome in the given string
Explain what are the steps for creating clr trigger?
What is difference between list and ilist in c#?
My switch statement works differently! Why?
What is bitwise operator in c#?
Define interface class in c#?
Is string primitive?
What are custom exceptions in C#?
Can datetime be null c#?
What do you mean by directing?
What is an int c#?
What is “using” statement in c#?