Partial classes

bearophile bearophileHUGS at lycos.com
Sun Jan 29 14:01:53 PST 2012


Mars:

> Hello everybody.
> Quick question, is there anything like C#'s partial classes in D?

In D there are ways to compose classes, using static methods of interfaces, with "alias this", and even low-level ways like mixin(import("filename.d")), and so on. But currently there are no partial classes in D. Maybe partial classes will be added in future if their usefulness becomes evident :-)

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list