What is difference between value and reference types?
Answer Posted / payal
value
this stored actual value
reference
stored the address of the value
value store in stack
reference is stored in heap
the variable which are value type they each time create
their own copy
the variable which are reference type they refer the same
object every time
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Define delay signing?
What does firstordefault mean in c#?
Is string immutable in c#?
What is difference between assembly and dll?
What is a delegate in c#?
Is the following code legal?
What is a base class in C#?
What is gui in c#?
In how many ways you can overload a method?
Why singleton pattern is used in c#?
List down the different ide’s provided by microsoft for c# development.
Can properties be overloaded in c#?
Can a constructor have a return type?
Is there an equivalent to the instanceof operator in visual j++?
What is throw in c#?