using System;
public class Program
{
public static void Main()
try
A();
}
catch (Exception e)
throw e; // throw exception with new StackTrace
public static void A()
throw new Exception("Something wrong happened");