Hi,
could somebody please explain me which is the difference between using a dll to store custom functions in my project, instead of a normal class (.cs file) for the same purpose? What are the benefits and disadvantages (if any)?
hi, if you kept the custom function class in your project then it's not resuable, maitenance is not easy (due to multiple copies etc.,), still you can reuse by copying the class into your required project. but DLL means just you can add reference.
if you have it as DLL then it's resuable, easy maitenance etc.,
Thanks,
Karthick S
Marked as answer by aletheia2 on May 30, 2012 09:24 AM
aletheia2
Member
49 Points
58 Posts
Difference between DLL and a class library?
May 30, 2012 09:03 AM|LINK
Hi,
could somebody please explain me which is the difference between using a dll to store custom functions in my project, instead of a normal class (.cs file) for the same purpose? What are the benefits and disadvantages (if any)?
Thank you
karthicks
All-Star
31382 Points
5424 Posts
Re: Difference between DLL and a class library?
May 30, 2012 09:18 AM|LINK
hi, if you kept the custom function class in your project then it's not resuable, maitenance is not easy (due to multiple copies etc.,), still you can reuse by copying the class into your required project. but DLL means just you can add reference.
if you have it as DLL then it's resuable, easy maitenance etc.,
Karthick S
aletheia2
Member
49 Points
58 Posts
Re: Difference between DLL and a class library?
May 30, 2012 09:27 AM|LINK
Very clear explanation.
Thank you!