static void Main(string[] args) { Document xml = new XMLDocument(); Document html = new HTMLDocument(); xml.Print(); html.Print(); }