I am mainly a C/C++ progammer and I do not use IDE. I am used to coding in a lightweight editor and compiling and running directly from command line. Now that I am starting to learn C#. I do not understand how to achieve the same effect in this. I have added csc.exe
to path and installed the Dotnet SDK. I want to know how can I code and compile directly without any sort of IDE's just using the compiler and make 'static' executable like C/C++.
Is there not any C# compiler that is similar to GCC or mingw?
note, this isn't the duplicate of the question this Question. My Question is about how to program in C# without any IDE and also how to compile a static
exe that does not require any sort of libraries to work. Yes, on the .NET framework of course.
EDIT : Also, How can I compile C# exe for Windows on Linux? The way we can compile C/C++ code on Linux for Windows?