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 difference between private and protected?
What does dbml stand for?
What is a generic in c#?
What is meant by generics in c#?
What is the full form of GAC? Explain its uses?
What is a constructor in c#?
What is deadlock in c#?
How many bytes is an int c#?
What is winforms c#?
What is difference between struct and class in c#?
What is a cshtml file?
What is array and types of array in c#?
Why do we use methods in c#?
What is an escape sequence? Name some string escape sequences in c#.
What is the difference between int16 and int32 in c#?