Accessing private members(www.code-in.net)

submitted by baldibaldi(508) 2 years ago

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.

add a comment |category: |Views: 7

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:
information Login or create an account to comment on this story