C# Puzzle : Reachable goto pointing to an unreachable label -
Here is Eric Lipert's comment: Now when you know the answer, you This puzzle can be solved: I have to write a program that has got an accessible accessory that goes to an accessible label. - Eric Lipper on July 17 at 7:17 I'm not able to create a code that would be a pointing point to an accessible label. Is this also possible? If so, what does the C # code look like? Note: Do not discuss about how bad 'Goto' is. This is a theoretical practice. My basic answer: try { Geto ilikecheese; } Finally {new invalid operation expiry ("you only have cheese"); } ILE Chase: Console.light line ("MMM cheese is tasty."); Here the compiler is without warning. bool jumping = false; Try {if (DateTime.Now & date; DateTime.MaxValue) {Jump = (Environmental NewLine! = "\ T"); Goto ilike chasse; } Return; } Finally {if (jumping) throwing a new invalid operation exception ("You only have cheese"); } ILE Chase: Console.light li...