Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Ground Controller Lvl 1
Message 1 of 2

Visual Studio Issue

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)

Console.WriteLine(x);

 

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?

 

1 Reply
Ground Controller Lvl 1
Message 2 of 2

Re: Visual Studio Issue

github also did not let me post Brackets in the previous post, to state the program that I tried to run