get current method name
Published: 27. October 2011 | Updated: 27. October 2011License: Microsoft Public License (MS-PL)
Categories: Debug, Framework » Reflection
Tags: C# Debug Reflection
Import namespace
using System.Reflection;
Code
string name = MethodBase.GetCurrentMethod().Name;
| Send us feedback about this snippet » |





