закрыт, как точная копия "How can I find the method that called the current method?"Как вы находите функцию звонящего?
ли this возможно с C#?
void main()
{
Hello();
}
void Hello()
{
// how do you find out the caller is function 'main'?
}
http://stackoverflow.com/questions/171970/how-can-i-find-the-method-that-called-the-current-method? – 2008-11-11 09:30:01
Этот вопрос является дубликатом [http://stackoverflow.com/questions/171970/how-can-i-find-the-method-that-called-the-current-method](http://stackoverflow.com/questions/171970/how-can-i-find-the-method-that-called-the-current-method) – 2008-11-11 09:30:59