what are value types and reference types? where they are stored?
Answer Posted / pankaj
value types------int,float,char
reference type----Array,class
value types stored in stack while reference type stored in heap.
in reference type address f variables are stored
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How big is an int16?
Why do we need to override in c#?
What is the difference between User controls and Custom Controls?
Explain how can I get around scope problems in a try/catch?
What is _layout cshtml?
Can abstract class be sealed in c#?
What is generic delegate in c#?
What is default boolean value in c#?
Why we use extension method in c#?
How long has c# been around?
What is datatable in c#?
What is selector c#?
What is the difference between CONST and READONLY?
What is the function of the not null constraint?
Can scriptable objects have methods?