I am trying to learn C#. However, when I try to start a project in Visual Studio to input C# code into to test programs by running them, Console app (.NET Framework) doesnt even load, it just loads endlessly. Starting a Console App (.NET Core) project does actually open, but doesnt recognice a working C# program such as
for (int x = 0; x < 10; x+=3)
I got this program off a website so it should work. It just gives me errors involving the "<" and ";". What Project setting must I use to input C# code to test running programs?