mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-05-22 14:20:59 +00:00
[CSharp/en]Fixes for my own changes
This commit is contained in:
parent
90e8dac0b8
commit
f5d0208178
@ -390,11 +390,6 @@ on a new line! ""Wow!"", the masses cried";
|
|||||||
count = 15; // out param must be assigned before control leaves the method
|
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
|
// GENERICS
|
||||||
// The classes for TKey and TValue is specified by the user calling this function.
|
// The classes for TKey and TValue is specified by the user calling this function.
|
||||||
// This method emulates the SetDefault of Python
|
// 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!
|
MudGuards = 2, // need to set the values manually!
|
||||||
Racks = 4,
|
Racks = 4,
|
||||||
Lights = 8,
|
Lights = 8,
|
||||||
Full = Bell | MudGuards | Racks | Lights
|
FullPackage = Bell | MudGuards | Racks | Lights
|
||||||
}
|
}
|
||||||
|
|
||||||
// Usage: aBike.Accessories.HasFlag(Bicycle.BikeAccessories.Bell)
|
// Usage: aBike.Accessories.HasFlag(Bicycle.BikeAccessories.Bell)
|
||||||
|
Loading…
Reference in New Issue
Block a user