It is. The code can be compiled for a specific platform, such as Windows, Linux, or macOS. You can check out the what is C# used for article above for more information.