Partial classes

Jonathan M Davis jmdavisProg at gmx.com
Sun Jan 29 16:16:22 PST 2012


On Sunday, January 29, 2012 22:43:26 Mars wrote:
> Hello everybody.
> Quick question, is there anything like C#'s partial classes in D?

Not really, no. It's one file per module by design. However, you can use 
template and string mixins to add code from other files.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list