BO4E/meta/Bo4eUri.cs
/// <summary>
///     Repeatedly calls Uri.UnescapeDataString until the result doesn't change any more.
/// </summary>
/// <param name="stringToUnescape">string to unescape</param>
/// <returns>unescaped input string</returns>
Repeatedly calls Uri.UnescapeDataString until the result doesn't change any more.
Repeatedly calls Uri . UnescapeDataString until the result doesn ' t change any more .
public static string FullyUnescapeDataString(string stringToUnescape)
        {
            string result;
            while ((result = UnescapeDataString(stringToUnescape)) != stringToUnescape) stringToUnescape = result;
            return result;
        }
public static string FullyUnescapeDataString ( string stringToUnescape ) { string result ; while ( ( result = UnescapeDataString ( stringToUnescape ) ) != stringToUnescape ) stringToUnescape = result ; return result ; }
Repeatedly calls Uri.UnescapeDataString until the result doesn't change any more.
Repeatedly calls Uri . UnescapeDataString until the result doesn ' t change any more .
// https://stackoverflow.com/a/3847593/10009545 // But why?
unescaped input string
unescaped input string
stringToUnescape
string
string to unescape
string to unescape