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
Hello-Newark-World
Talk To Jack
30272 Program Ex6_1 else_if
Get a webpage - the async way
HTML Hex to RGB without using System.Drawing C#
Working with Dictionaries (csharp)
Ventmatika testas
binary hacks
30272 Program Ex3
Milimeters