using System;
public class Program
{
public static void Main()
try
Method1();
}
catch(Exception ex)
Console.WriteLine(ex);
static void Method1()
Method2();
throw ex;
static void Method2()
string str = null;
Console.WriteLine(str[0]);
throw;