C# Dictionary判断Key是否存在

if(dict.ContainsKey(T key))
{
   //已存在key
}
posted @ 2020-01-15 14:37  饮木  阅读(16793)  评论(0编辑  收藏  举报