You can always run the .dll code with this command:
.dll
dotnet ConsoleApp1.dll
This is in fact how you launch it on Linux without .exe file.
.exe