c# - How do I isolate a group of classes for reuse? -
i have solution classes isolate them in ordem reuse them in solution. new in c# , don´t know if should consider library. want organize them in separated module. how procedure? create class library? define new solution classes want isolate?
thank you.
you create separate class library project. if classes closely related project might put them in same solution project. keeping them in separate project means build own assembly (.dll) can reference other projects.
one example when creating wcf service might add separate project in solution containing interfaces services implement , input/output models use. project in same solution wcf service , wcf service references it. then, if project needs interact wcf service references interface assembly.
Comments
Post a Comment