What is the Difference between value and reference type?
Answer Posted / taranjeet
value type: when value is assigned to another
variable,values are copied.
refrence type: when assignment between two variable accures
only reference is copied value remain same
| Is This Answer Correct ? | 58 Yes | 9 No |
Post New Answer View All Answers
What is boxing? Explain its functionality?
What happens when thread sleep () method is called?
What is writeline?
Can int be null c#?
What is part of a method signature in c#?
How main method is called in c#?
what is a enumeration in c#
Why do we use classes?
Why we use oops in c#?
What are the properties of string?
Do we get an error while executing the “finally” block in c#?
How to transpose multi-dimensional array?
What is namespace in oop?
Can destructors have access modifiers?
Are all methods virtual in c#?