I have a C # project with many classes. Is it possible to pack this project (Console application) into a library (possibly a dll or something else) and call all the functions of a certain class from other programming languages?
EDIT: Here is the code:
using System; using System.Text;
namespace Test {class Program {public int aplusb (int a, int b) {return a + b; }
public void hello() { Console.WriteLine("Helo world"); } }
} Code> And the hierarchy in the project folder: - Properties - Recommendations - bin - Debugging --- Test.dll --- Test.exe --- Test.pdb --- Test.vshost.exe --- Test.vshost. exe.manifest - obj - x86 --- Debug ---- TempPE ----- DesignTimeResolveAssemblyReferencesInput.cache ----- Test.csproj.FileListAbsolute.txt ----- Test.dll ----- Test .pdb ----- ResolveAssemblyReference.cache - Program.cs
I checked both Test.dll from bin and obj. They are empty
source share