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


Please Help Members By Posting Answers For Below Questions

How to declares a two-dimensional array in C#?

802


Can we set image Source dynamically using C# in WPF application?

859


What is thread safe in c#?

677


What is the difference between system.string and system.text.stringbuilder classes?

719


What is the console on a mac?

693


Can struct have constructor c#?

690


Why do we need constructor in c#?

703


What is public void in c#?

728


Why do we need encapsulation in c#?

732


What is the delegates in c#?

690


Explain “static” keyword in c#?

648


Can we inherit private class in c#?

717


What is the difference between “finalize” and “finally” methods in c#?

700


When a switch is said to be congested?

771


What is dynamic dispatch?

730