Is there any way to access private memebers of an object
from another object?
Answer Posted / sitaram
no, we can't access private members in another
object.because private members are accessing only that
class or object.
Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
How to declares a two-dimensional array in C#?
Can we set image Source dynamically using C# in WPF application?
What is thread safe in c#?
What is the difference between system.string and system.text.stringbuilder classes?
What is the console on a mac?
Can struct have constructor c#?
Why do we need constructor in c#?
What is public void in c#?
Why do we need encapsulation in c#?
What is the delegates in c#?
Explain “static” keyword in c#?
Can we inherit private class in c#?
What is the difference between “finalize” and “finally” methods in c#?
When a switch is said to be congested?
What is dynamic dispatch?