U
U
User Unknown2020-08-01 21:16:06
C++ / C#
User Unknown, 2020-08-01 21:16:06

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

1 answer(s)
R
Roman Mirilaczvili, 2020-08-01
@aveBHS

WebUtility.UrlEncode
https://docs.microsoft.com/en-us/dotnet/api/system...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question