Get I.T. Going

Showing posts with label Call method in C# using reflection. Show all posts
Showing posts with label Call method in C# using reflection. Show all posts

Accessing properties and methods of an object in C# using Reflection

There might be situations where you want to loop through the members of an object or you want to create some generic means to access the members of one or more classes, so here is how you can access the members of an object in C# in a generic manner.

Read more »
No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Access C# class members generically, Call method in C# using reflection, Calling C# method generically by name, Class members using reflection, Invoke method with parameters using reflection
Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2018 (7)
    • ▼  June (1)
      • Unsubscribing an observable in Angular 6
    • ►  May (3)
    • ►  March (1)
    • ►  February (2)
  • ►  2017 (9)
    • ►  September (2)
    • ►  June (2)
    • ►  March (1)
    • ►  February (1)
    • ►  January (3)
  • ►  2016 (14)
    • ►  December (3)
    • ►  November (3)
    • ►  October (1)
    • ►  June (2)
    • ►  May (4)
    • ►  April (1)
Awesome Inc. theme. Theme images by Leontura. Powered by Blogger.