Unescape Html - CSharp System

CSharp examples for System:String HTML

Description

Unescape Html

Demo Code

// BDHero is free software: you can redistribute it and/or modify
using System.Threading;
using System.Text.RegularExpressions;
using System.Net;
using System.Collections.Generic;
using System;/*from w  ww  .j  ava2 s.  com*/

public class Main{
        /// TODO: Write unit tests
        public static string UnescapeHtml(this string str)
        {
            return WebUtility.HtmlDecode(str);
        }
}

Related Tutorials