static void Main(string[] args)
 {
     Sello.mensaje = "";
     Console.Write(Sello.Imprimir());
     Console.WriteLine();
     Sello.mensaje = "45";
     Console.Write(Sello.Imprimir());
     Console.ReadLine();
 }
示例#2
0
 public static void ImprimirEncolor()
 {
     Console.BackgroundColor = Sello.color;
     Console.WriteLine(Sello.Imprimir()); //Encapsulamiento
 }