public static void ImprimirEnColor() { Console.ForegroundColor = Sello.color;//le cambio el color //Console.WriteLine("{0}", Sello.Imprimir());//muestro con el color Console.WriteLine("{0}", Sello.ArmarFormatoMensaje()); Console.ForegroundColor = ConsoleColor.Gray;//vuelvo al color normal }
public static string Imprimir() { mensaje = Sello.ArmarFormatoMensaje(); return(Sello.mensaje); }
public static string Imprimir() { return(Sello.ArmarFormatoMensaje()); }
public static void ImprimirEnColor() { Console.ForegroundColor = color; Console.WriteLine(Sello.ArmarFormatoMensaje()); Console.ForegroundColor = ConsoleColor.Gray; }