Can C# be compiled into programs to run on Linux or Mac or is it and the .NET framework just for Windows? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can C# be compiled into programs to run on Linux or Mac or is it and the .NET framework just for Windows?

Based on the Sololearn tutorial I am finding C++ to be fairly similar to C++ but its slightly different syntax seems more intuitive (to me at least). However, while I can easily compile C++ on Linux using the GNU C/C++ compiler or with Code::Blocks, it looks like C# only works with Visual Studio. Are C# and .NET just for Windows? Is there a compiler or IDE for C# on Linux (or Mac)?

4th Oct 2017, 10:47 PM
John Asher
John Asher - avatar
1 Answer
4th Oct 2017, 11:01 PM
AgentSmith