Depends on how you want to reuse them. There are two alternative.
1) Consider your reusable code as a blackbox.
2) Allow other projects to use the source and modify it as needed.
If you wanted your code to be a blackbox, you would simply have a project
that contains all the code libraries you want. The resulting binary would
then be used in other projects. All you have to do is add a reference to
your library assemblies in each project. You may also need to include the
binaries with your projects unless you plan to add them to the GAC.
If you want the code to be modifiable, then you can simply just add those
code files to your other projects.
"Curt Emich" <ce****@comcast.net> wrote in message
news:7J********************@comcast.com...
I'm planning to create a class library containing code that I can resuse
in all of my apps. I would probably put these classes into a namespace that
contained my company name and then the word "reuseable".
Would I put these classes in their own separate file? If so, how would I
include it in each respective project? The references I see so far in C#
are all .dll files, but these would just be text I guess.
Can someone shed some light on this for me? Thanks!