An easy example of a delimited key-value pair is name=brady
? Concatenation is far simply in this case of one pair, but I'm thinking of a dictionary consisting of such pairs. I'm dealing a lot with sets of these values as form data and in other contexts, and quickly made a rough dictionary, but would like to refine it for future use if it's not re-inventing the wheel.
The point of this question is, does the special key-value pair I want exist[1], and if it doesn't, I will extend Dictionary<TKey, TValue>
, as was always my attention.
Sometimes people ask very stupid questions here, so I forgive those who answered this one as if I were as skilled a coder as a lump of rock.
[1] It does, but is MS code and only has internal accessibility, as Paulo Morgado pointed out. Now if MS has such a class, why did they not just stick a plain dictionary, like some people are telling me to do.
It's not public and I recall it having roundtrip issues, but you can take a look at the HttpValueCollection