public static void Main()
Console.WriteLine("Test NoThrow 0,0: " + Test(0, 0, false));
Console.WriteLine(new string ('-', 16));
Console.WriteLine("Test NoThrow 0,1: " + Test(0, 1, false));
Console.WriteLine(new string ('-', 16));
Console.WriteLine("Test NoThrow 0,2: " + Test(0, 2, false));
Console.WriteLine(new string ('-', 16));
Console.WriteLine("Test NoThrow 1,2: " + Test(1, 2, false));
Console.WriteLine(new string ('=', 16));
Console.WriteLine("Test Throw 0,1: " + Test(0, 1, true));
Console.WriteLine(new string ('-', 16));
Console.WriteLine("Test Throw 0,2: " + Test(0, 2, true));
Console.WriteLine(new string ('-', 16));
Console.WriteLine("Test Throw 1,2: " + Test(1, 2, true));
public static int Test(int versionLevel, int CURRENT_VERSION_LEVEL, bool @throw)
while (!breakLoop && versionLevel < CURRENT_VERSION_LEVEL)
throw new Exception("Soup");
Console.WriteLine("Thrown");
Console.WriteLine("Bump!");