I have 2 classes (classA and classB) that both inherits from same class (classC). Now I need create new generic class (classAA) that inherits List of A or B. Is it possible to call methods of classC in classAA.
public class classC
{
//...
}
public class classA : classC
{
//...
}
public class classB : classC
{
//...
}
public class classAA<T> : List<T>
{
//...
}