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