diff options
| author | Levi Bostian <levi.bostian@gmail.com> | 2015-10-14 09:41:46 -0500 | 
|---|---|---|
| committer | Levi Bostian <levi.bostian@gmail.com> | 2015-10-14 09:41:46 -0500 | 
| commit | cbba48ec1ea8fc6250b49d654ad928ea766a2146 (patch) | |
| tree | e96acc4149e463d9cacf2886bb6b7c7c68f098dd /csharp.html.markdown | |
| parent | 18f90aaabe0165d7649d6817af078bafed207e36 (diff) | |
| parent | ad5b0a615b6dd6857de6d2055c1a2743bd340d83 (diff) | |
Merge pull request #1500 from Alters/master
[csharp/en] Fix for a few spelling errors
Diffstat (limited to 'csharp.html.markdown')
| -rw-r--r-- | csharp.html.markdown | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/csharp.html.markdown b/csharp.html.markdown index 28da9fe5..7aca2c6f 100644 --- a/csharp.html.markdown +++ b/csharp.html.markdown @@ -160,7 +160,7 @@ on a new line! ""Wow!"", the masses cried";              // List<datatype> <var name> = new List<datatype>();              List<int> intList = new List<int>();              List<string> stringList = new List<string>(); -            List<int> z = new List<int> { 9000, 1000, 1337 }; // intialize +            List<int> z = new List<int> { 9000, 1000, 1337 }; // initialize              // The <> are for generics - Check out the cool stuff section              // Lists don't default to a value; @@ -460,7 +460,7 @@ on a new line! ""Wow!"", the masses cried";          {              // OPTIONAL PARAMETERS              MethodSignatures(3, 1, 3, "Some", "Extra", "Strings"); -            MethodSignatures(3, another: 3); // explicity set a parameter, skipping optional ones +            MethodSignatures(3, another: 3); // explicitly set a parameter, skipping optional ones              // BY REF AND OUT PARAMETERS              int maxCount = 0, count; // ref params must have value @@ -481,7 +481,7 @@ on a new line! ""Wow!"", the masses cried";              // in case variable is null              int notNullable = nullable ?? 0; // 0 -            // ?. is an operator for null-propogation - a shorthand way of checking for null +            // ?. is an operator for null-propagation - a shorthand way of checking for null              nullable?.Print(); // Use the Print() extension method if nullable isn't null              // IMPLICITLY TYPED VARIABLES - you can let the compiler work out what the type is: @@ -650,7 +650,7 @@ on a new line! ""Wow!"", the masses cried";              {                  return _cadence;              } -            set // set - define a method to set a proprety +            set // set - define a method to set a property              {                  _cadence = value; // Value is the value passed in to the setter              }  | 
