I want to store all the key/value pairs in my querystring:
www.example.com/?a=2&b=3&c=34
into a dictionary. Is there a quick way of doing this w/o having to manually cycle through all the items?
Try HttpUtility.ParseQueryString()
.
It gives you back a NameValueCollection
of your keys and values.
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