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 method overriding and method overloading?
What is meant by collections in c#?
Is c# pass by value?
Describe the ways of cleaning up objects in c#.
What is the difference between ref and out parameters in c#?
What are the drawbacks of extending an interface as opposed to extending a class?
What is mvc pattern in c#?
Why do we use interfaces in c#?
How do you comment out code in c#?
Can hashtable have duplicate keys?
Why singleton pattern is used in c#?
What Is The Difference Between The System.array.copyto() And System.array.clone()?
What is difference between variable and property in c#?
What is polymorphism in c sharp?
There were a lot of questions asked, so I will list the topic (and add a what is "topic" and know pros/cons). Extreme programming, what is a transaction, various SDLC design approaches, what is a namespace, define a good test case, what is a stored proc, webservice? design patterns? linker? compiler? access modifiers? stack vs. queue? arrays vs. linked lists? sorting algorithms? recursion? OOP principles?