static void Main() { HandlesExceptions handleExceptions = new HandlesExceptions(); handleExceptions.CatchAllExceptions(); }