Journal Com2Kid's Journal: Now this oversight in C# is annoying
Simple switch based command line menu. If the user hits 'q', then System.Environment.Exit(0) is called.
Now obviously I do not need to bother worrying about any variable assignments here. Unused variables? Hah! The program has terminated.
But C# will not let me compile without assigning SOMETHING to those darned variables that have something assigned to them in every other case statement.
Now this oversight in C# is annoying More Login
Now this oversight in C# is annoying
Slashdot Top Deals