List

System.Collections.Generic.List<string> authors = new System.Collections.Generic.List<string>();
authors.Add("作者一");
authors.Add("作者二");
authors.Add("作者三");
--------------------------------
List<LiteratureReference> resultList = new List<LiteratureReference>(100);
// Define a List, which is used to save the LiteratureReference object/class.
LiteratureReference reference = new LiteratureReference();
reference = ....
resultList.Add(reference);
LiteratureReference reference2 = new LiteratureReference();
reference2 = ...
resultList.Add(reference2);
public class LiteratureReference()
{
}
posted @ 2009-09-23 12:44  greencolor  阅读(139)  评论(0编辑  收藏  举报