By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,649 Members | 2,154 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,649 IT Pros & Developers. It's quick & easy.

strange behavior of UriBuilder.Query

P: n/a
When I create a new UriBuilder and read the value if the Query
property, then the query is returned including leading '?'.
Not quite what I expected, but I can live with it (and it is
BUT, when I supply a new value I should NOT supply that
leading '?', because it is added automatically.
(and this is not documented)

For example: when I do myUriBuilder.Query += "&arg=val", then
the value of Query contains TWO leading '?'s.

Is there a reason for this?

Hans Kesting
Nov 15 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.