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

Why do we write system in c#?

486


What is difference between write and writeline in c#?

488


What is the difference between Object and class adapters?

517


What is global namespace in c#?

486


What is the base class for array types?

568






Can fields inside a class be virtual?

541


What is the difference between malloc () and new?

493


What is the difference between namespace and class in c#?

505


What is hashtable in c# net with example?

473


What is the difference between selection and projection?

454


Why dependency injection is used in c#?

493


What is a generic c#?

496


What is a console in c#?

488


What is array and types of array in c#?

482


Is c# good for beginners?

475