what is the difference between passing a value object by
reference and a reference object by value?
Answer Posted / c
I am sorry ...above is not correct....actually to pass
reference type as value we need to use clonable/ copy
constructor ...otherwise in C# it is not possible to pass
object as value
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of namespace in c#?
Why do we use namespace in c#?
What is the use of protected in c#?
What is the usage of Enumeration in C# Programming and is it good to use or not ?
What are desktop applications examples?
Do we get an error while executing the “finally” block in c#?
What is ildasm.exe used for?
What is private virtual in C#?
what is method overloading in c#?
Why is it important to override gethashcode when equals method is overridden?
Write a syntax for writing a event delegate.
What is the difference between new and override in c#?
What are predicates in c#?
Is c# or c++ better for games?
What is semaphore in c#?