M_Cyjb_Collections_DictionaryUtil_Empty__2 - CYJB/Cyjb GitHub Wiki

DictionaryUtil.Empty(TKey, TValue) 方法

返回一个空的只读字典。

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

语法

C#

public static IReadOnlyDictionary<TKey, TValue> Empty<TKey, TValue>()

类型参数

 

TKey
字典中键的类型。
TValue
字典中值的类型。

返回值

Type: IReadOnlyDictionary(TKey, TValue)
空的只读字典。

参见

Reference

DictionaryUtil 类
Cyjb.Collections 命名空间

⚠️ **GitHub.com Fallback** ⚠️