黄聪

论SEO对人类的重要性,请看我的博客:hcsem.com

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2010年5月13日

摘要: 使用Loopup集合类管理相同键值的对象集Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Lookup{ class Program { static void Main(string[] args) { Person graham = new Person(& 阅读全文
posted @ 2010-05-13 15:23 黄聪 阅读(663) 评论(0) 推荐(0) 编辑

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace ConsoleApplication2{ class Program { static void Main(string[] args) { DocumentManag 阅读全文
posted @ 2010-05-13 14:30 黄聪 阅读(364) 评论(0) 推荐(0) 编辑

摘要: 输对一个List<T>中每一个对象都进行一个函数操作Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { Pers 阅读全文
posted @ 2010-05-13 13:59 黄聪 阅读(1190) 评论(3) 推荐(0) 编辑

摘要: System.Collections 命名空间包含接口和类,这些接口和类定义各种对象(如列表、队列、位数组、哈希表和字典)的集合。System.Collections.Generic 命名空间包含定义泛型集合的接口和类,泛型集合允许用户创建强类型集合,它能提供比非泛型强类型集合更好的类型安全性和性能。System.Collections.Specialized 命名空间包含专用的和强类型的集合,例如,链接的列表词典、位向量以及只包含字符串的集合。(一)ArrayList 类:使用大小可按需动态增加的数组。using System;using System.Collections.Generic 阅读全文
posted @ 2010-05-13 10:02 黄聪 阅读(1063) 评论(1) 推荐(1) 编辑