Can we access private variables using reflection ?
-
I am sorry to ask this question here :) I need simple answer yes or no
-
I am sorry to ask this question here :) I need simple answer yes or no
Private variables do not exist. They're just an on-going joke started by some OO wackos.
Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]
-
I am sorry to ask this question here :) I need simple answer yes or no
I suspect your question will be reflected to the proper forum. :)
Author of The Career Programmer and Unite the Tribes www.PracticalStrategyConsulting.com
-
I am sorry to ask this question here :) I need simple answer yes or no
Well, while I move this to the .NET forum, you could write some code and see for yourself...
Christian Graus - C++ MVP
-
I am sorry to ask this question here :) I need simple answer yes or no
not in the lounge, no.
-
Private variables do not exist. They're just an on-going joke started by some OO wackos.
Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]
But when we watch those variables in VS.NET, we do see those variables. For example check m_roles in GenericPrincipal object.
-
I am sorry to ask this question here :) I need simple answer yes or no
-
not in the lounge, no.
Okies... please move this
-
Well, while I move this to the .NET forum, you could write some code and see for yourself...
Christian Graus - C++ MVP
Well, I first try .. then ask the question!
-
I am sorry to ask this question here :) I need simple answer yes or no
Yes, you can.
Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
Currently working on C++/CLI in Action for Manning Publications. (*Sample chapter available online*) -
But when we watch those variables in VS.NET, we do see those variables. For example check m_roles in GenericPrincipal object.
This is a joke reply, about all you will get to a programming question asked in the lounge.
Christian Graus - C++ MVP
-
Private variables do not exist. They're just an on-going joke started by some OO wackos.
Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]
Great :laugh:..U R Master Of OO:sigh: