Exemple #1
0
        static void Main(string[] args)
        {
            Sello.mensaje = "pedrito jose carlos";
            Console.WriteLine(Sello.Imprimir());
            Sello.Borrar();
            Console.WriteLine(Sello.Imprimir());

            Sello.mensaje = "Hola Mundo";
            Sello.color   = ConsoleColor.Red;
            Sello.ImprimirColor();
            Console.WriteLine(Sello.Imprimir());

            Console.ReadKey();
        }
Exemple #2
0
 public static string Imprimir()
 {
     return(Sello.ArmarFormatoMensaje());
 }