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 dynamic dispatch?
My switch statement works differently! Why?
Why do we need generics in c#?
Can we override static class in c#?
1. Describe page life cycle?
What are indexers in c# .net?
Can we inherit class that contains only one private constructor?
What is a dimensional array?
Can we extend sealed class in c#?
Can we change static variable value in c#?
How does c# achieve polymorphism?
Can abstract class have parameterized constructor?
Do events have return type c#?
Define a class and an object?
What is the lock statement in c#?