static string Mostrar(this EmisorDeEmails emisor) { StringBuilder sb = new StringBuilder(); sb.AppendLine(emisor.ToString()); sb.AppendFormat("-{0}", emisor.Email); return(sb.ToString()); }
public static string Mostrar(this EmisorDeEmails emisor) { StringBuilder sb = new StringBuilder(); sb.AppendFormat("Mensaje: ", emisor.Mensaje); sb.AppendFormat("Email: ", emisor.Email); return(sb.ToString()); }
public string Mostrar(this EmisorDeEmails emisor) { return(emisor.ToString() + "Email:" + emisor.Email); }