C# Create URI from string without decoding %2F as a forward slash – Asp.net
Given the following string URI var str = "https://www.google.com/maps/search/C%2F-%20GBI%20Logistics%2C%2078%20Mallard%20Way%20(Door%20%232)%2C%20CANNINGTON%2C%20WA%2C%206107"; How can I create a URI from this string which doesn't decode the %2F as a forward slash / ?? when evaluating new Uri(str).ToString(); the result is https://www.google.com/maps/search/C/- GBI Logistics, 78…