private void Merge(NameValueCollection target, NameValueCollection source) { foreach (string key in source.AllKeys) { target[key] = source[key]; } }