예제 #1
0
        public static void ImprimirEnColor()
        {
            Console.ForegroundColor = Sello.color;
            Console.WriteLine(Sello.Imprimir());

            Console.ForegroundColor = ConsoleColor.DarkGray;
        }
예제 #2
0
        static void Main(string[] args)
        {
            Sello.color   = ConsoleColor.Red;
            Sello.mensaje = "Hola";


            Sello.ImprimirEnColor();
            Console.WriteLine(Sello.Imprimir());



            Console.ReadKey();
        }