2009年10月15日

摘要: 说明:Stack(堆栈)作为一种集合类型,适合于处理应用程序使用完后就删除的临时数据项。Queue(队列)与Stack用法相似,唯一的区别是Queue以先进先出的结构创建集合。Stack用法示例:using System;using System.Collections;using System.Collections.Generic;using System.Text;namespace Sta... 阅读全文

posted @ 2009-10-15 17:33 Relax Active 阅读(443) 评论(0) 推荐(0)

摘要: 说明:数组列表用法类似于数组,但数组列表可以增大,它由System.Collections.ArrayList来表示。using System;using System.Collections;using System.Collections.Generic;using System.Text;namespace ArrayList3{ class Program { static void Ma... 阅读全文

posted @ 2009-10-15 14:56 Relax Active 阅读(190) 评论(0) 推荐(1)


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3