private void LoadRequiredResources() { try { log.Debug("Started"); // Mailer Resource Mailer m = new Mailer(); m.OnLoad(); // SQL Resource SqlRunner sqlRunner = new SqlRunner(); sqlRunner.OnLoad(); log.Debug("Finished"); } catch (Exception ex) { log.Error(ex.Message); } }