Skale
asked on
How to write function's name as a string in C#
I've a case like below;
public static void POP_YTL_GLOBAL() {}
is it possible to get it's name inside it like below;
public static void POP_YTL_GLOBAL()
{
string nameOfFunction = // How to get POP_YTL_GLOBAL automatically in here.
}
Any help would be grateful.
public static void POP_YTL_GLOBAL() {}
is it possible to get it's name inside it like below;
public static void POP_YTL_GLOBAL()
{
string nameOfFunction = // How to get POP_YTL_GLOBAL automatically in here.
}
Any help would be grateful.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER