标签:app collect generic oid blog bsp orm span hid
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace WindowsFormsApplication2 8 { 9 //员工类 10 public class Employee 11 { 12 public int Age { get; set; } 13 public string ID { get; set; } 14 public string Name { get; set; } 15 public List<Abctract> WorKList { get; set; } 16 17 //构造函数 18 public Employee(string id, int age, string name, List<Abctract> WorKList) 19 { 20 this.ID = id; 21 this.Age = age; 22 this.Name = name; 23 this.WorKList = WorKList; 24 25 26 27 } 28 virtual public string DOWork() 29 { 30 31 return ""; 32 } 33 public void info() 34 { 35 36 } 37 } 38 }
标签:app collect generic oid blog bsp orm span hid
原文地址:http://www.cnblogs.com/nancheng/p/6701693.html