using System;
public class Program
{
static void Test1()
throw new InvalidOperationException("Test 1");
}
static async void Test2()
throw new InvalidOperationException("Test 2");
public static void Main()
// Test 1
try
Test1();
catch(Exception e)
Console.WriteLine(e);
Console.WriteLine("Ran test 1");
// Test 2
Test2();
Console.WriteLine("Ran test 2");