static int Main()
    {
        DocumentForm <object> browseForm = new DocumentForm <object> ();

        if (browseForm.DoInit() != 248)
        {
            return(1);
        }
        return(0);
    }
    static int Main()
    {
        DocumentForm <object> browseForm = new DocumentForm <object> ();

        if (browseForm.DoInit() != 248)
        {
            return(1);
        }

        var domain = AppDomain.CreateDomain("foo");
        var engine = Engine.CreateRemote(domain);

        if (engine.GetDomainName <object> () != "foo")
        {
            return(2);
        }

        return(0);
    }