If I have a string like so:
"Name=Irwin&Home=Caribbean&Preference=Coffee"
is there a method in C# that can convert that to a key-value pair similar to Request.QueryString?
You can try using HttpUtility.ParseQueryString
.
var nvc = HttpUtility.ParseQueryString(yourString);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With