c# - How can I compile a .cs file into a .exe on a Mac? -


i'm reading "fundamentals of computer programming c#". using mac, of book (so far) geared toward windows users. instructions compiling cs .exe file involve using csc.exe compiler. says cd folder cs file , type:

 csc filename.cs 

it predicts cause error, does:

 bash: csc: command not found 

it says around error, should provide full path of compiler in terminal command, not work , receive same error. i've googled problem, no avail.

any suggestions appreciated.

update: whomever suggested mono, it. worked charm. thanks!

you can use cross platform .net core. https://www.microsoft.com/net/core#macos


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -