summaryrefslogtreecommitdiffhomepage
path: root/csharp.html.markdown
diff options
context:
space:
mode:
authorChris <csuich2@gmail.com>2015-10-10 20:52:59 -0700
committerChris <csuich2@gmail.com>2015-10-10 20:52:59 -0700
commitd97eaa51d279f24dddbc820aab10ec3cb2e90e69 (patch)
tree4f2b3647760f5be96a22fdb47a330060bc970855 /csharp.html.markdown
parent8592f261996855000d3d2241989ea5563c1bf8ec (diff)
Added detail on C# single inheritance
Clarified that the base class name must be the first thing listed
Diffstat (limited to 'csharp.html.markdown')
-rw-r--r--csharp.html.markdown3
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;