Partial classes are used in C# wherever you need to combine auto-generated code and user code into a single class. So, the Windows GUI builder does it placing all the GUI component construction and property setting in one file, and allowing the user to only have to see/edit the application level code in another file. Likewise LINQ to SQL generates a custom DataContext child class, and the user can optionally create a 2nd file with the partial class to extend it.RThe same thing in D should be done,now.Otherwise,no big projects can be very easily done like C#. Add another keyword,and update the compiler.FrankLike
- 'partial' keyword in C# is very good for... FrankLike via Digitalmars-d
- Re: 'partial' keyword in C# is very... Paulo Pinto via Digitalmars-d
- Re: 'partial' keyword in C# is ... Regan Heath via Digitalmars-d
- Re: 'partial' keyword in C#... FrankLike via Digitalmars-d
- Re: 'partial' keyword i... FrankLike via Digitalmars-d
- Re: 'partial' keyw... ketmar via Digitalmars-d
- Re: 'partial' keyword i... Gary Willoughby via Digitalmars-d
- Re: 'partial' keyw... Walter Bright via Digitalmars-d
- Re: 'partial' ... andre via Digitalmars-d
- Re: 'partial' keyword i... Dejan Lekic via Digitalmars-d
- Re: 'partial' keyw... ketmar via Digitalmars-d
- Re: 'partial' keyw... Paulo Pinto via Digitalmars-d
- Re: 'partial' ... FrankLike via Digitalmars-d
- Re: 'parti... Wyatt via Digitalmars-d
- Re: 'parti... ketmar via Digitalmars-d