/// <summary> /// Unescape the string escaped in URI encoding format. /// </summary> /// <param name="s">String to be unescape.</param> /// <returns>Unescaped string.</returns> public static string UriUnescape(this string s) { return(UriEncoding.Unescape(s)); }
/// <summary> /// Escape the string in URI encoding format. /// </summary> /// <param name="s">String to be escaped.</param> /// <returns>Escaped string.</returns> public static string UriEscapeForTag(this string s) { return(UriEncoding.EscapeForTag(s)); }