private string ConcatAddresses(IEnumerable <Mailbox> addresses) { var list = new MailboxList(); foreach (Mailbox address in addresses) { list.Add(address); } return(list.ToString()); }
private string ConvertAddressesToString(IEnumerable <Mailbox> addresses) { var list = new MailboxList(); if (addresses != null) { foreach (Mailbox address in addresses) { list.Add(address); } } return(list.ToString()); }
private string ConvertAddressesToString(IEnumerable<Mailbox> addresses) { var list = new MailboxList(); if (addresses != null) foreach (Mailbox address in addresses) list.Add(address); return list.ToString(); }