Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
FlagsAttributes - Usage example
using System; namespace Rextester { public class Program { [Flags] enum DebugMode : short { None = 0, Debug = 1, Production = 2, Custom = 4, }; public static void Main(string[] args) { Console.WriteLine("\nAll possible combinations of values with FlagsAttribute:"); for(int val=0; val<8; val++) Console.WriteLine( "{0,3} - {1:G}", val, (DebugMode)val); } } }
run
|
edit
|
history
|
help
0
random number generator
Learning Rounding and Truncation from the Maths library
Palindrome String
c# with mysql
extension methods
Math 10.93 added fracOp
svitch
Testing 001
Math 12.2 Matrix Pool
Coding Exercise