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
Contrast System.String and System.Text.StringBuilder classes?
What does the keyword “virtual†declare for a method or property?
What is regex replace in c#?
How do I know if executenonquery is successful c#?
What are c# types?
When Should You Call The Garbage Collector In .net?
How do you type a null character?
Which property do we set on a Combo Box to display data on it prior to setting the DataSource ?
If the original method is not static you can declare an override method to be static or not?
What is default c#?
Can you change the value of a constant filed after its declaration?
What is a race condition?
What is JIT (just in time)? how it works?
What are escape sequences explain with example?
What is the difference between User controls and Custom Controls?