예제 #1
0
 private static void PrintTable(IQueryable<Employee> employeeList)
 {
     Console.WriteLine(employeeList.ToStringTable(
         new[] { "First Name", "Surname", "Position", "Separation Date" },
         a => a.FirstName, a => a.LastName, a => a.Position, a => a.SeparationDate));
 }