diff options
author | Nami-Doc <vendethiel@hotmail.fr> | 2014-03-20 11:27:47 +0100 |
---|---|---|
committer | Nami-Doc <vendethiel@hotmail.fr> | 2014-03-20 11:27:47 +0100 |
commit | 017d6060d4c8c853a02f00dbd9d6a3ce31c90a9f (patch) | |
tree | 3b7a6141298a8139159361ab21479de026972c66 | |
parent | 0e80e9580b49384e106f77bb52b0e90bce6eb286 (diff) | |
parent | 0622062e2a42069af92b549d9774addb4ffc1f0a (diff) |
Merge pull request #578 from weakish/patch-18
csharp: typos
-rw-r--r-- | csharp.html.markdown | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/csharp.html.markdown b/csharp.html.markdown index a689fe97..81eb467d 100644 --- a/csharp.html.markdown +++ b/csharp.html.markdown @@ -558,7 +558,7 @@ on a new line! ""Wow!"", the masses cried"; } set // set - define a method to set a proprety { - _cadence = value; // Value is the value passed in to to the setter + _cadence = value; // Value is the value passed in to the setter } } private int _cadence; @@ -576,7 +576,7 @@ on a new line! ""Wow!"", the masses cried"; } int _speed; // Everything is private by default: Only accessible from within this class. - // can also use keyword privatee + // can also use keyword private public string Name { get; set; } // Enum is a value type that consists of a set of named constants @@ -608,7 +608,7 @@ on a new line! ""Wow!"", the masses cried"; // This is a default constructor public Bicycle() { - this.Gear = 1; // you can access mmebers of the object with the keyword this + this.Gear = 1; // you can access members of the object with the keyword this Cadence = 50; // but you don't always need it _speed = 5; Name = "Bontrager"; |