示例#1
0
        static string Mostrar(this EmisorDeEmails emisor)
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendLine(emisor.ToString());
            sb.AppendFormat("-{0}", emisor.Email);
            return(sb.ToString());
        }
示例#2
0
        public static string Mostrar(this EmisorDeEmails emisor)
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendFormat("Mensaje: ", emisor.Mensaje);
            sb.AppendFormat("Email: ", emisor.Email);
            return(sb.ToString());
        }
示例#3
0
 public string Mostrar(this EmisorDeEmails emisor)
 {
     return(emisor.ToString() + "Email:" + emisor.Email);
 }