using System;
public class Program
{
static void Test2()
try
throw new Exception("Test2");
}
finally
Console.WriteLine("Test2-finally");
public static void Main()
Console.WriteLine("Hello, World!");
throw new Exception("Test1");
catch (Exception ex)
Console.WriteLine(ex.ToString());
Console.WriteLine("Test1-finally");
Test2();