public Dictionary <string, string> SendSMS(string To, string Body) { Dictionary <string, string> resp = null; try { // resp = this[2].SendSMS(To, Body); resp = Primary.SendSMS(To, Body); Console.WriteLine("SMS Send With Primary"); } catch { try { if (FallBack != null) { resp = FallBack.SendSMS(To, Body); Console.WriteLine("SMS Send With Secondary"); } } catch (Exception ex) { Console.WriteLine("SMS Sending Failed: " + ex.StackTrace); } } return(resp); }