I have the following code:
public ClassC
{
public class ClassA extends ClassB<T>
{
/**
* @uml.property name="index"
*/
private int index;
public ClassA()
{
super(ClassC.this);
index = 0;
}
}
I have found that, ClassName.this
is needed from inner classes to get to the outer class instance of this
, but it doesn't help me much. I know my issue is about lack of knowledge but some shorter explanation will save me some time. How this should look in c#? I have renamed classes just to make it a more general question.