diff options
author | Levi Bostian <levi.bostian@gmail.com> | 2015-10-12 23:15:41 -0500 |
---|---|---|
committer | Levi Bostian <levi.bostian@gmail.com> | 2015-10-12 23:15:41 -0500 |
commit | be21d6a8480c429ab8d91d0aed9e74f703ea59c0 (patch) | |
tree | 0549fda5110dfcd0409a10e462509902fce5a5da | |
parent | 841f4c3d4628e75e5d8f62adb285b4d6b8336fba (diff) | |
parent | d97eaa51d279f24dddbc820aab10ec3cb2e90e69 (diff) |
Merge pull request #1461 from csuich2/csharp-single-inheritance
Added detail on C# single inheritance
-rw-r--r-- | csharp.html.markdown | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/csharp.html.markdown b/csharp.html.markdown index 02650038..a4dff948 100644 --- a/csharp.html.markdown +++ b/csharp.html.markdown @@ -837,7 +837,8 @@ on a new line! ""Wow!"", the masses cried"; bool Broken { get; } // interfaces can contain properties as well as methods & events } - // Class can inherit only one other class, but can implement any amount of interfaces + // Class can inherit only one other class, but can implement any amount of interfaces, however + // the base class name must be the first in the list and all interfaces follow class MountainBike : Bicycle, IJumpable, IBreakable { int damage = 0; |