Wednesday 12 January 2011

Calling private Methods and Properties

If you are using a 3rd party API and need to call a private method, or change the value of a private member variable then this is possible using Reflection in the System.Reflection Namespace.

Example Below

No comments:

Post a Comment