Как узнать, входит ли данный индекс в словарь C#?
var dict = new Dictionary<string, string>();
dict.Add("1", "text1");
dict.Add("2", "text2");
bool exists = dict.Exists("3"); (как?)
var dict = new Dictionary<string, string>();
dict.Add("1", "text1");
dict.Add("2", "text2");
bool exists = dict.Exists("3"); (как?)