我想根据包含转义字符的字符串实例化一个新的Uri。
我应该如何保留
Dim sUri as String = "http://foo.bar/path/to/file_with%2fpercent?query=params"
Dim uUri as New Uri(sUri)
Console.WriteLine(uUri)
>>>>
http://foo.bar/path/to/file_with/percent?query=params
我应该如何保留
%2f
符号?