//第一种
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}
};
时间: 2024-10-10 10:29:32