T
Tim Burda
I know you can use the property
System.Reflection.MethodInfo.GetCurrentMethod().Name to get the name
of the function currently be executed.
What I want to do is get the name of the function which called the
function I am currently in.
For example (pardon my pseudo-code):
public void ABC()
{
// Do some stuff here
XYZ();
}
public void XYZ()
{
//I want to determined the name of the function that called XYZ.
//In this case, ABC
}
Any thoughts???
Thanks -
Tim Burda
(e-mail address removed)
System.Reflection.MethodInfo.GetCurrentMethod().Name to get the name
of the function currently be executed.
What I want to do is get the name of the function which called the
function I am currently in.
For example (pardon my pseudo-code):
public void ABC()
{
// Do some stuff here
XYZ();
}
public void XYZ()
{
//I want to determined the name of the function that called XYZ.
//In this case, ABC
}
Any thoughts???
Thanks -
Tim Burda
(e-mail address removed)