Split a string to get the key and value of each group.
Such as string:
"qq=adf;f=qewr98;eer=d9adf;t=ad34;f=qewrqr;u=adf43;gggg=2344"
According to the object-oriented concept, create an object:
Source Code
class Bf { public string Key { get; set; } public string Value { get; set; } public Bf() { } public Bf(string key, string value) { this.Key = key; this.Value = value; } public override string ToString() { return string.Format("key:{0},value:{1}", this.Key, this.Value); } }