How deep can an inheritance tree get in c#?
How deep can an inheritance tree get in c#?
Let's say I have a class A, and I make a new class B that derives from A. Than I create a new class called C that derives from B and so on.
How many classes can I create this way that will actually be A?
Is there a limit to the inheritance tree?
public class A
{
...
...
}
public class B:A
{
...
...
}
public class C:B
{
...
...
}
public class D:C
{
...
...
}