How to structure C# class library?
10,792
Solution 1
This should help: Design Guidelines for Developing Class Libraries. Actually a good reading for all .net developers.
Solution 2
Use static code analysis (FxCop). It'll enforce all of Microsoft's guidelines/best practices for library development.
Related videos on Youtube
Author by
Patrick87
Updated on July 12, 2022Comments
-
Patrick87 almost 2 years
good day! I need your help.. how do you write and structure your code in a class library such that when it is built as dll other programmers can use that dll as their library more like the base class library. except that i dont know how to structure them are there any rules in writing a good library? best practices maybe? so that my library will be elegant and much like the base class libraries in .net
please help.. thanks!
-
Henk Holterman almost 11 yearsBut it won't suggest 'elegance'.