Can't create nested classes

Heinz billgates at microsoft.com
Mon Jan 22 19:43:14 PST 2007


I have the following code, i'm working with nested classes, when i try to compile it it enters a nice loop full of errors:

class myclass
{
        private Table mytable = new Table();

        class Table
        {
                
        }
}

I get errors about a 'this' so i add this() constructors to myclass, Table and tried both at the same time.

What could be wrong? thx


More information about the Digitalmars-d-learn mailing list