public void imprimir() { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine("COD:{0}", Cod.ToString().PadLeft(8, '0')); Console.WriteLine("NOME:{0}", Nome.PadLeft(25, ' ')); Console.WriteLine("_".PadLeft(50, '_')); Console.ForegroundColor = ConsoleColor.Yellow; }