How to use MethodInfo ?

  • Thread starter Thread starter JPSutor
  • Start date Start date
Gives you info on a method. Its called Reflection.

using System.Reflection;

If you wish to know the current Method name while running your app for lets
say logging.
So you can write the method name in a log file. Stuff like that.

In short, if you need a method and dont know the name, Relfection is the way.
 
Back
Top