public void Clear() { foreach(var item in this.values){ NameValuePair nvp = this.values[item.Key]; nvp.Clear(); } }