I have a couple of functions which I would like to add to DLL. I found this programming guide How to: Create and Use C# DLLs (C# Programming Guide). It's very short and looks like a really simple thing to do but I've noticed that each single function added to dll is enlosed in a separate file, separate class and functions are static. Is it always the case? What if I have a couple of overloaded functions, such as:
public void WaitForTheKey(object o = null) {} public void WaitForTheKey(string message, bool addlines = true, int[] quantity = null) {} private void _WaitForTheKey(string, bool, int[]) {} Shall I put them in separate files like in the tutorial? Thanks.
EDIT. If projects for DLL do not require separate classes and files, what would be the reason an author of the tutorial followed this theme?
Thanks