示例#1
0
文件: Employ.cs 项目: Cl393/Xuexi
 public static bool CompareName(Employ e1, Employ e2) =>
 e1.Name.CompareTo(e2.Name) < 1 ? true : false;
示例#2
0
文件: Employ.cs 项目: Cl393/Xuexi
 public static string Print(Employ emp) => $"员工ID:{emp.ID},姓名:{emp.Name}";