// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
#using <mscorlib.dll>

class A
{
    public:
        int a;
        A() { a = 123; };
};

class B
{
    public:
        int b;
        B() { b = 456; };
};

class C : public A, public B
{
};

int main()
{
    C *c = new C();
    System::Console::WriteLine(c->a);
    System::Console::WriteLine(c->b);
    return 0;
}
