StringFunctions.UrlEncode

Extension method to URL encode a string.

public static string UrlEncode(string s)

Return Value

The URL encoded version of the string.

Parameters

s
The string.

Remarks

Taken from http://csharphelper.com/blog/2015/09/make-string-extensions-to-url-encode-and-decode-strings-in-c/


See also:

Class StringFunctions