Skip to content

M_Cyjb_Collections_SetUtil_Empty__1

CYJB edited this page Mar 20, 2024 · 4 revisions

SetUtil.Empty(T) 方法

返回一个空的只读集合。

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

语法

C#

public static IReadOnlySet<T> Empty<T>()

类型参数

 

T
集合中元素的类型。

返回值

Type: IReadOnlySet(T)
空的只读集合。

参见

Reference

SetUtil 类
Cyjb.Collections 命名空间

Clone this wiki locally