summaryrefslogtreecommitdiffhomepage
path: root/csharp.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'csharp.html.markdown')
-rw-r--r--csharp.html.markdown15
1 files changed, 10 insertions, 5 deletions
diff --git a/csharp.html.markdown b/csharp.html.markdown
index 58d5fa11..87a70200 100644
--- a/csharp.html.markdown
+++ b/csharp.html.markdown
@@ -24,19 +24,24 @@ Multi-line comments look like this
/// </summary>
//public void MethodOrClassOrOtherWithParsableHelp() {}
-// Specify namespaces application will be using
+// Specify the namespaces this source code will be using
+// The namespaces below are all part of the standard .NET Framework Class Libary
using System;
using System.Collections.Generic;
-using System.Data.Entity; // Add dll reference with NuGet: Install-Package EntityFramework
using System.Dynamic;
using System.Linq;
-using System.Linq.Expressions;
using System.Net;
using System.Threading.Tasks;
using System.IO;
-// defines scope to organize code into "packages"
-namespace LearningXInYMinutes.CSharp
+// But this is one is not:
+using System.Data.Entity;
+// In order to be able to use it, you need to add a dll reference
+// This can be done with the NuGet package manager: `Install-Package EntityFramework`
+
+// Namespaces define scope to organize code into "packages" or "modules"
+// Using this code from another source file: using Learning.CSharp;
+namespace Learning.CSharp
{
// Each .cs file should at least contain a class with the same name as the file
// you're allowed to do otherwise, but shouldn't for sanity.