Skip to content

Instantly share code, notes, and snippets.

@tt
Created November 12, 2011 21:02
Show Gist options
  • Save tt/1361110 to your computer and use it in GitHub Desktop.
Save tt/1361110 to your computer and use it in GitHub Desktop.
var uri = new Uri("http://example.com/?");
var uriBuilder = new UriBuilder(uri);
for (int i = 0; i < 10; i++)
{
uriBuilder.Query = uriBuilder.Query;
}
// uriBuilder.Uri.AbsoluteUri == "http://example.com/???????????"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment