集(Set)
摘要:
/*集(Set).Net4包含两个HashSet 和 SortedSetHashSet包含不重复元素的无序列表,SortedSet包含不重复元素的有序集合*/using System.Collections.Generic;namespace Frank{ public class Test { //程序入口 public static void Main(string[] args) { HashSet hs1 = new HashSet(); hs1.Add("wuhan"); System.Console.WriteLine(hs1.Add... 阅读全文
posted @ 2013-12-07 10:19 wp456 阅读(252) 评论(0) 推荐(0)
浙公网安备 33010602011771号