I have a weird problem.
var dummyUri = new UriBuilder("http", "localhost", 8585, "Some[Name");
If I put this code block to console app , absolute uri will be displayed like following.
AbsoluteUri = "http://localhost:8585/Some[Name"
If I put this code block in my test class(that means i am using nunit), absoluteUri will be displayed like following.
AbsoluteUri = "http://localhost:8585/Some%5BName"
And I am wondering that what is the differences.
You can find same question and solution for this problem here