Answer the question
In order to leave comments, you need to log in
How to escape special characters for URL in C#?
How can you escape special characters (like #, &, ?) for URLs in C#? Is there any built-in way to do this, so as not to reinvent the wheel?
Answer the question
In order to leave comments, you need to log in
WebUtility.UrlEncode
https://docs.microsoft.com/en-us/dotnet/api/system...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question