c# - Is it possible to split a string into a dictionary? -


Does this string be '& amp; And init one dictionary at a time or do you have to first use a string array?

I want to take part in the url:

? A = 2 & amp; B = 3

and dictionary & lt; String, string & gt;

Load duplicates for your own question ...

As the fetus said, HTTT suitability. The parasetting string () is your best bet.

Edit: > After digging a bit, I found the following extension method nameValueCollectionExtensions.CopyTo (this NameValueCollection, IDictionary & lt; string, object>), which you can use A true IDictionary can be used to populate.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -