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
How can I process command-line arguments?
What is parameters in c#?
What is the purpose of dictionary in c#?
Why do we need serialization?
What is the adv of using System.Text.StringBuilder over System.String?
What are All kind of access specifiers for a class and for methods
What is regex replace in c#?
What is a constructor in c#?
Explain the concepts of cts and cls(common language specification).
Is java better than c sharp?
In object oriented programming, how would you describe encapsulation in c#?
What is type cast in C#?
What is access specifier in c#?
What are sessions in c#?
What is a string in c#?