user7916992
user7916992

Reputation: 31

To create and run a C# console application

Just picked up and started learning and coding with C#. The online course I am learning from is using Microsoft Visual Studio for C# outputting to a console application.

I have downloaded Visual Studio Community from https://www.visualstudio.com/downloads/ but the C# coding language does not have console application as output. Not sure if I am looking at the correct place/ or have downloaded the correct application to code and run C#.

Do the newest versions of Microsoft Visual Studio have this option available? I havent been able to locate or find it in open/create new C# project. Pardon my silly questions, but any help/helpful links are much appreciated.

Thanks

Upvotes: 2

Views: 1219

Answers (5)

S Heydari
S Heydari

Reputation: 101

You can create new project form file or start page and select C# category then click on console application.

see this picture:
see this picture

Upvotes: 2

please download visual studio 2019 or use command dotnet new command in cmd

https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new

Upvotes: -1

Rami Far
Rami Far

Reputation: 404

Open the visual studio and Select new project. From new project dialog box Select console application. You can see the process in picture here

Upvotes: 0

Nikhil Agrawal
Nikhil Agrawal

Reputation: 48558

Yes, this option/project type is still available in VS2017. To get this project type, you need to install correct workload i.e. .Net Desktop Development. Then searching Console from New Project window, will give you the project type.

enter image description here

Upvotes: 1

Do Thang
Do Thang

Reputation: 40

enter image description here

You can see in the picture, if you have not C# Console Application. Please, download the package of the section.

Upvotes: 1

Related Questions