Dictionary 检测key是否存在

if(dict.ContainsKey(T key))
{
   //已存在key
}

  

posted @ 2019-02-13 11:02  LBO.net  阅读(512)  评论(0)    收藏  举报
//返回顶部