public SocketMessage(string header) { Header = header; Data = new NameValuePair[0]; }
public void AddData(NameValuePair data) { Array.Resize(ref _data, Data.Length + 1); _data[_data.Length - 1] = data; }