Skip to content

T_Cyjb_Collections_CollectionUtil

CYJB edited this page Mar 20, 2024 · 13 revisions

CollectionUtil 类

提供对 ICollection(T) 的扩展方法。

继承层次

System.Object
  Cyjb.Collections.CollectionUtil
Namespace: Cyjb.Collections
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6

语法

C#

public static class CollectionUtil

The CollectionUtil type exposes the following members.

方法

 

名称 说明
公共方法静态成员 AddRange(T) 将指定集合的元素添加到当前集合中。
公共方法静态成员 AsReadOnly(T) 返回当前集合的只读包装。
公共方法静态成员 Empty(T) 返回一个空的只读集合。
  Back to Top

参见

Reference

Cyjb.Collections 命名空间

Clone this wiki locally