C#3.0 新特性系列(5) Collection Initializers

代码如下:

1 List<int> scores = new List<int>{88,99};
posted @ 2008-07-30 10:47  许晓光  阅读(129)  评论(0编辑  收藏  举报