Lets say I have two projects.
Now I could create a C# class library (.dll) and reference it from my main project. And all the functionality is available.
But what if my main project only needs 25 classes from the total 100 available. For the current situation that is an overhead and in my opinion I would be better of with direct file referencing from the other projects.
What would be the better of those two options (.dll or referencing the source code files in the library) and why?
I would say create a library (dll) and reference that. In that way the library can be used by multiple projects and you will have a single code base maintaining the library.
There is always that specific situation where you might end up in referencing the whole library and only using one class out of it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With