This seems incredibly basic. I have a class and I want it to pass itself in a method, to set itself as an owner of a subclass.
How do you do this?
-
-
Ignore this. I found that I can use "this" in the constructor - I was trying to work out of methods, id est:
public class Whatever
{
private CustomList<x> = new CustomList(this);
}
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.