diff --git a/csharp.md b/csharp.md index b02e945c18..7672377836 100644 --- a/csharp.md +++ b/csharp.md @@ -641,8 +641,6 @@ on a new line! ""Wow!"", the masses cried"; foreach (string bike in query) Console.WriteLine(result); - - } } // End LearnCSharp class @@ -658,7 +656,6 @@ on a new line! ""Wow!"", the masses cried"; } } - // DELEGATES AND EVENTS public class DelegateTest { @@ -694,7 +691,6 @@ on a new line! ""Wow!"", the masses cried"; // composedInc will run Increment 3 times Console.WriteLine(composedInc()); // => 4 - // Subscribe to the event with the delegate MyEvent += new IncrementDelegate(Increment); MyEvent += new IncrementDelegate(Increment); @@ -705,7 +701,6 @@ on a new line! ""Wow!"", the masses cried"; } } - // Class Declaration Syntax: // class { // //data fields, constructors, functions all inside. @@ -902,7 +897,6 @@ on a new line! ""Wow!"", the masses cried"; return BicyclesCreated > 9000; } // If your class only needs static members, consider marking the class itself as static. - } // end class Bicycle // PennyFarthing is a subclass of Bicycle @@ -1347,3 +1341,4 @@ namespace Csharp7 * [LINQ Pocket Reference](http://shop.oreilly.com/product/9780596519254.do) * [Windows Forms Programming in C#](http://www.amazon.com/Windows-Forms-Programming-Chris-Sells/dp/0321116208) * [freeCodeCamp - C# Tutorial for Beginners](https://www.youtube.com/watch?v=GhQdlIFylQ8) +