示例#1
0
 private static void PrintEmployee(Employee employee)
 {
     Console.ForegroundColor = ConsoleColor.Green;
     Console.WriteLine("Employee #{0}, {1} {2} has reached the age of 21. Can be served alchohol.", employee.Id, employee.FirstName, employee.LastName);
     Console.ForegroundColor = ConsoleColor.White;
 }