How to get the class instance which creat another. For example:
public class A
{
private B bb;
public void CreatMethod()
{
bb = new B();
}
}
My question is how can I get the instance of class A through bb.
Thanks!
How to get the class instance which creat another.
|