How deep can an inheritance tree get in c#?
03:03 30 Jan 2014

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
{
 ...  
 ...
}   
c# .net inheritance