public string this[string idx] { get { return _dict[idx]; } set { if (_dict.ContainsKey(idx)) _dict[idx] = value; else _dict.Add(idx, value); } }