cerrada como duplicado exacto de "How can I find the method that called the current method?"¿Cómo se encuentra la función de llamada?
Es this posible con 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? –
Esta pregunta es un duplicado de [http://stackoverflow.com/questions/171970/how-can-i-find-the-method-that-llamado-la-actualidad-método(http://stackoverflow.com/questions/171970/how-can-i-find-the-method-that-called-the-current-method) –