Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -641,8 +641,6 @@ on a new line! ""Wow!"", the masses cried";
foreach (string bike in query)
Console.WriteLine(result);



}

} // End LearnCSharp class
Expand All @@ -658,7 +656,6 @@ on a new line! ""Wow!"", the masses cried";
}
}


// DELEGATES AND EVENTS
public class DelegateTest
{
Expand Down Expand Up @@ -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);
Expand All @@ -705,7 +701,6 @@ on a new line! ""Wow!"", the masses cried";
}
}


// Class Declaration Syntax:
// <public/private/protected/internal> class <class name>{
// //data fields, constructors, functions all inside.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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)

Loading