public void RemoveParameter(string key) { if (ContainsParameter(key)) { parameters.RemoveAt(GetIndexOfParameter(key)); } }