.NET框架提供的集合类封装了一些常见的数据结构和算法,包括列表、字典、队列、栈等几大类,如链表、队列、栈等。其中,普通集合位于________命名空间。
A: System.Collections.Generic
B: System.Collections
C: System.Collections.Text
D: System.Text.Collections
A: System.Collections.Generic
B: System.Collections
C: System.Collections.Text
D: System.Text.Collections
举一反三
- .NET框架提供的集合类封装了一些常见的数据结构和算法,包括列表、字典、队列、栈等几大类,如ArrayList(链表)、Queue(队列)、Stack(栈)等。其中,泛型集合位于System.Collections命名空间,普通集合位于System.Collections.Generic命名空间。较为常用的有List[T]、ArrayList、Dictionary[TKey,TValue]等。
- .NET框架提供的集合类封装了一些常见的数据结构和算法,包括列表、字典、队列、栈等几大类,如ArrayList(链表)、Queue(队列)、Stack(栈)等。其中,泛型集合位于System.Collections命名空间,普通集合位于System.Collections.Generic命名空间。较为常用的有List<T>、ArrayList、Dictionary<TKey,TValue>等。 A: 正确 B: 错误
- Collections集合工具类位于【】包中
- List所属命名空间() A: System B: System.Collections C: System.Collections.Generic D: Enagine
- Collection是单列集合的接口,Collections类中提供了操作集合的方法