Dump on a NameValueCollection

Calling the Dump method on a NameValueCollection only shows the names of the keys and not the values. Can this be changed to also show the value next to the corresponding key please, @JoeAlbahari ?

var nvc = new System.Collections.Specialized.NameValueCollection(); nvc["foo"] = "bar"; nvc["hello"] = "world"; nvc.Dump();
NameValueCollection (2 items)
This collection class is quite useful when using the System.Net.WebClient's UploadValues method.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!