public NameValueCollection ParseTransferData() { NameValueCollection data = new NameValueCollection(); string[] parts = TransferData.Split('&'); foreach (string part in parts) { string[] subParts = part.Split('='); data.Add(subParts[0], subParts[1]); } return(data); }