static void Main(string[] args) { AddClient client = null; try { client = new AddClient(args); } catch (Exception) { Console.WriteLine("\nOne or more of the required arguments are missing or incorrectly formed."); return; } try { client.Run(); } catch (Exception ex) { Error(ex); return; } }