Posted By

jimfred on 05/24/11


Tagged


Versions (?)

Get current function name


 / Published in: C#
 

This is useful to get the name of the current function for trace purposes or to name a thread.

  1. System.Reflection.MethodBase.GetCurrentMethod().Name;

Report this snippet  

You need to login to post a comment.