摘要: Dictionary dc = new Dictionary(); dc.Add(1, "看了"); dc.Add(2, "没看"); dc.Add(3, "不知道"); dc[1] = "哈哈"; ... 阅读全文
posted @ 2015-05-17 22:32 自由无风 阅读(507) 评论(0) 推荐(0) 编辑
摘要: //创建list泛型集合 List ilist = new List(); ilist.Add(1); ilist.Add(9); ilist.AddRange(new int[] { 23... 阅读全文
posted @ 2015-05-17 09:36 自由无风 阅读(681) 评论(0) 推荐(0) 编辑
摘要: //创建文件 //File.Create(@"D:\a.txt"); //Console.WriteLine("创建成功"); ////删除文件 //File.Delete(@"D:\a.txt"); ... 阅读全文
posted @ 2015-05-17 09:25 自由无风 阅读(4678) 评论(0) 推荐(0) 编辑