diff options
-rw-r--r-- | csharp.html.markdown | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/csharp.html.markdown b/csharp.html.markdown index fc7588f8..58d5fa11 100644 --- a/csharp.html.markdown +++ b/csharp.html.markdown @@ -326,7 +326,7 @@ on a new line! ""Wow!"", the masses cried"; // or tryInt.ToString(); - // Casting + // Casting // Cast decimal 15 to a int // and then implicitly cast to long long x = (int) 15M; @@ -390,11 +390,6 @@ on a new line! ""Wow!"", the masses cried"; count = 15; // out param must be assigned before control leaves the method } - // Methods can have the same name, as long as the signature is unique - public static void MethodSignatures(string maxCount) - { - } - // GENERICS // The classes for TKey and TValue is specified by the user calling this function. // This method emulates the SetDefault of Python @@ -657,7 +652,7 @@ on a new line! ""Wow!"", the masses cried"; MudGuards = 2, // need to set the values manually! Racks = 4, Lights = 8, - Full = Bell | MudGuards | Racks | Lights + FullPackage = Bell | MudGuards | Racks | Lights } // Usage: aBike.Accessories.HasFlag(Bicycle.BikeAccessories.Bell) |