public static class DictionaryExtensions
{
public static void SafeAdd<TKey, TValue>(this Dictionary<TKey, TValue> dict,
TKey key, TValue value)
{
dict[key] = value;
}
}
c# dictionary safe add
最新推荐文章于 2023-06-12 12:18:45 发布