Accessing private members

added by baldi
5/10/2010 11:37:10 PM

0 Kicks, 77 Views

In same cases you need the possibility to access private members of a .NET class. The class library provides the classes FieldInfo, PropertyInfo and MemberInfo (and some more) to access them. You can wrap this functionality easily as extension methods to provide this to all classes.


0 comments