public static void ImprimirEnColor() { Console.ForegroundColor = Sello.color; Console.WriteLine(Sello.Imprimir()); Console.ForegroundColor = ConsoleColor.Gray; }
static void Main(string[] args) { Sello.mensaje = "asdfasdf"; Console.WriteLine(Sello.Imprimir());//retorna string Sello.Borrar(); Console.WriteLine(Sello.Imprimir());//retorna string Sello.mensaje = "nahuel cisa"; Sello.color = ConsoleColor.Red; Sello.ImprimirEnColor(); Console.WriteLine(Sello.Imprimir()); Console.ReadKey(true); }