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

What is the difference between a constant and a static readonly field?

517


What is hierarchical inheritance in c#?

474


What is an int c#?

476


What is the use of jit ? Jit (just - in - time) is a compiler which converts msil code to

516


List out two different types of errors in c#?

523






To catch any possible exception What is the C# syntax written ?

531


Write a sample code to write the contents to text file in c#?

477


Does google use c#?

507


In .Net, what is an assembly? Also explain the type of assembly.

513


What is thread in c#?

545


What is executereader in c#?

472


What is toint32 c#?

616


Explain a MSIL ? Why is it appreciated by all developers?

582


Can you have parameters for static constructors?

529


Are string objects mutable or immutable?

526