/ Published in: C#
This is useful to get the name of the current function for trace purposes or to name a thread.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
System.Reflection.MethodBase.GetCurrentMethod().Name;