Re: Input requested: #if vs partial class

Re: Input requested: #if vs partial class

Old forum URL: forums.lhotka.net/forums/t/10153.aspx


JohnWester posted on Thursday, March 10, 2011

Andy
That's a great insight. I haven't delved into SL yet, but I"m hoping to in the very near future. For developing the business library, I was leaning toward the partial class method, and its reassuring to hear that it sounds like the way to go.

 For others looking at this topic... re-read Rocky's post above...

[quote user="Rocky"]In the end, at least within the framework, the compiler directive approach is far superior. Having class code spread into 2-3 different files makes it too hard to find and maintain bits of code over time. And it makes it harder to manage the file linking.

 

Andy, I hope you re-visit this.

Copyright (c) Marimer LLC