I am trying to understand how to create and use a library in C#. In a similar way of understanding it in C using GCC.
I want to only use the command line, and not use Visual Studio IDE.
How can I
Create a library, including
- Writing the source file, where do I have to use namespace and if yes, do I have to choose the namespace representing the directories where the library file is in?
- Compiling it into a dll file?
Use the library's dll file in another C# program?