.net给类赋值的两种方式
//第一种
List<FlightRefit> ls = new List<BPMSwebService.FlightRefit>();
ls.Add(new FlightRefit() { Id = 1,Agent="李四" });
ls.Add(new FlightRefit() { Id = 2 });
//第二种
FlightRefit[] fr = new FlightRefit[]{
new FlightRefit{Id=3,Agent="张三"},
new FlightRefit{Id=4}
};