From 4e92b011114402d53f86cd05e424db9c8fb0738a Mon Sep 17 00:00:00 2001 From: Karol Skrobot <13644758+karolskrobot@users.noreply.github.com> Date: Thu, 1 Nov 2018 04:08:37 +0000 Subject: [PATCH] update index.md (#20623) Added "no multiple inheritance" to Rules of Inheritance. --- guide/english/csharp/inheritance/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guide/english/csharp/inheritance/index.md b/guide/english/csharp/inheritance/index.md index 6f6969c7d27..f5344ff5fda 100644 --- a/guide/english/csharp/inheritance/index.md +++ b/guide/english/csharp/inheritance/index.md @@ -18,6 +18,8 @@ Inheritance is one way. The base class does not inherit the features of the deri Inheritance is transitive. A Base class of 'Animal' can have a derived class of 'Dog' and this can have a derived class of 'Terrier'. The Terrier class will inherit both the features of the Dog class and the Animal class. +C# does not support multiple inheritance. A class can only inherit from a single class. + # The `:` symbol In C# the `:` symbol is used to denote inheritance. This is called when creating the derived class.