diff options
author | Laoujin <woutervs@hotmail.com> | 2015-02-01 00:04:10 +0100 |
---|---|---|
committer | Laoujin <woutervs@hotmail.com> | 2015-02-01 00:04:10 +0100 |
commit | f5d0208178d9903911249dad482cec37f5523627 (patch) | |
tree | 48e1b65cd02a57a1ad658ec66acd72a559deb40d | |
parent | 90e8dac0b8f5ad4cb0e9218cc05457da48dd4e98 (diff) |
[CSharp/en]Fixes for my own changes
-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) |