MoscaCareca
C# 5+ compiler
Hey!
I was trying to compile a little program using
csc myfile.cs
. It didn't compile because I have some language features that are only available in more recent versions and as mentioned by the csc
command:
I've looked at the provided link and the only think I can find is the latest .NET 6.0.1 SDK
on the releases page, which I assume is not what I need.
Can someone help me out? I'm quite new to C#.
Ideally, I don't want to make a project just to run a program, because I'm attempting to compile the C# files programmatically, which is why the csc
command was pretty handy! 🙂72 replies