src/HttpServer/NameValueCollection.cs
/// <summary>
/// Add a new value into collection with the specified key
/// </summary>
/// <param name="key">Key for value</param>
/// <param name="value">Value to insert into collection</param>
Add a new value into collection with the specified key
Add a new value into collection with the specified key
public void Add(string key, string value)
        {
            if (this.ContainsKey(key))
                throw new ArgumentException("key already exists into collection");
            this.values.Add(key, value);
        }
public void Add ( string key , string value ) { if ( this . ContainsKey ( key ) ) throw new ArgumentException ( " " ) ; this . values . Add ( key , value ) ; }
Add a new value into collection with the specified key
Add a new value into collection with the specified key
key
string
Key for value
Key for value
value
string
Value to insert into collection
Value to insert into collection