Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How should I store my custom classes?

I've gotten to the point where I have made a few classes that I have found to be rather useful for a variety of different projects, they're either extensions of the already existing .Net ones or something entirely new.

Although I may not use them for EVERY project I would most certainly use them again at some point, my questions is what is the best way to keep these stored?

I was thinking about compiling them into a .dll that I can simply reference if necessary but at the moment there are only about 4 different classes, I've always thought that a .dll is more suited towards a larger amount of classes.

Would it just be simpler to store them somewhere in the cloud so I can access them from pretty much any computer?

What has worked best for you?

Edit: I'll be using more than one computer as I sometimes use the university computer facilities.

The classes range from memory management helper classes in XNA to niche functions in regular .Net/C#

like image 822
Jamie Keeling Avatar asked Sep 12 '10 18:09

Jamie Keeling


1 Answers

If the classes don't fit together naturally as an assembly, keep the source files somewhere like Github and include them in your projects where needed. You can always rearrange them into components at a later date, when you feel it's worthwhile.

like image 177
GraemeF Avatar answered Sep 30 '22 09:09

GraemeF