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 the difference between ref and out parameters in c#?
What does string format do?
Explain code compilation in c#.
What is executescalar in c#?
Are value types sealed?
Why do we override in c#?
Can you use all access modifiers for all types?
what is the default access for a class
What is thread safe in c#?
What is attribute and reflection in c#?
What all details the assembly manifest will contain?
What is sqlconnection in c#?
What is the difference between int and int in c#?
Explain the types of errors in c#?
Are c# tuples immutable?