what is the difference between passing a value object by
reference and a reference object by value?
Answer Posted / c
When you pass object by reference to any method, you are
passing reference (base pointer) to method. Any changes
done on this object will get reflected in object in caller.
When you pass any object by value, you are passing copy of
the object and not the reference.
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is Delegate and what is it used for ?
What is the main purpose of linq?
What is difference between static and constant variable?
Explain Constructor and destructor?
How to block a class from being inherited further?
What is the use of command builder?
What is the difference between static and private constructor?
Why is c# a good programming language?
What does int32 mean in c#?
Define xslt.
Where do we use serialization in c#?
Does c# support parameterized properties?
What is the use of readkey in c#?
can multiple catch blocks be executed for a single try statement?
What is boolean conditions in c#?