다단계 상속은 파생 클래스가 다른 파생 클래스에서 구성될 때 발생합니다.
할아버지, 아버지, 그리고 아들은 C#에서 다단계 상속을 나타내는 완벽한 예입니다 −

예시
다음은 C#에서 다단계 상속 사용을 설명하는 예입니다.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Demo {
class Son : Father {
public void DisplayTwo() {
Console.WriteLine("Son.. ");
}
static void Main(string[] args) {
Son s = new Son();
s.Display();
s.DisplayOne();
s.DisplayTwo();
Console.Read();
}
}
class Grandfather {
public void Display() {
Console.WriteLine("Grandfather...");
}
}
class Father : Grandfather {
public void DisplayOne() {
Console.WriteLine("Father...");
}
}
} 출력
Grandfather... Father... Son..