A little different question.
Anyone knows how to extract class and public member names from an object.
e.g. If I have a class called
myclass{
public int mymem;
}
In a method where this object is passed in, is there a way to find out the class name 
and method name from the instance of the class.
e.g. public void foo(myclass o)
{
    o.somemethod() should return myclass;
    o.someothermethod should return mymem;
}

Thanks,

Indrasish.





Reply via email to