How can I get C# to distinguish between ambiguous class types without having to specify the full HtmlAgilityPack.HtmlDocument name every time (it is ambiguous compa
HtmlAgilityPack.HtmlDocument
Use aliases:
using HapHtmlDocument = HtmlAgilityPack.HtmlDocument; using WfHtmlDocument = System.Windows.Forms.HtmlDocument;