public static bool callDropTable(string tableName) { try { DBtoolsInst.DropTable(tableName); if (Console.ForegroundColor != ConsoleColor.Red) { Console.WriteLine("\nDROP " + tableName + " - SUCCESS\n"); } else { throw new Exception(); } return(true); } catch (Exception ex) { Console.WriteLine("\n" + tableName + " Not Dropped \n"); return(false); } }