1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
using System; using System.Threading; enum A { Hello, Bye } class X { public static int Main () { try { switch (0) { default: throw new Exception("FOO"); break; } } catch (Exception) { return 0; } return 1; } }