[Mono-devel-list] Find Object instance that called a method..

S Umadevi sUmadevi at novell.com
Tue Jun 21 04:50:27 EDT 2005


Hi,
 Is there a mechanism to figure out the object instance that called a
method..
Ex.
class A {
            
public  void m1()
{
  //some code..
}

}

Class B {

  private m2()
{
   A aa = new A();
    aa.m1();

}
}

>From method m1 in class A is it possible for me to figure out the
object instance aa?

Regards
uma



More information about the Mono-devel-list mailing list