Possible Duplicate:
How can I find the method that called the current method?
Hi, how can i determine the caller of a method from within the method? Eg:
SomeNamespace.SomeClass.SomeMethod() {
OtherClass();
}
OtherClass() {
// Here I would like to able to know that the caller is SomeNamespace.SomeClass.SomeMethod
}
Thanks