I am looking to get the current executing method in .NET Core 6
When using
System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.FullName
the output is <MethodName>d__6
How to get only MethodName
?
What is d__6
?
I am looking to get the current executing method in .NET Core 6
When using
System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.FullName
the output is <MethodName>d__6
How to get only MethodName
?
What is d__6
?