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 int16?
What is the difference between select and selectmany?
What is type keyword in c#?
Can you put two constructor with the same structure in a class?
What is sealed class in c#?
Explain how do you debug an asp.net web application?
What is singleordefault?
Write down the c# syntax to catch an exception
How are Windows programs different from normal C-programs?
How does bitwise xor work?
What is monitor in C#?
Why should you override the tostring() method?
What types of object can I throw as exceptions?
what is IEquatable
Why do we use inheritance in c#?