📅  最后修改于: 2022-03-11 14:48:39.253000             🧑  作者: Mango
using System.Collections.Generic;
Dictionary dictionary = new Dictionary();
dictionary.Add(TKey, TValue);
//Returms a booleen
dictionary.TryGetValue(TKey, out TValue tValue);