Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

I will be using Visual Studio Community

Installing Visual Studio (VS)

From a search engine search for “visual studio community”. In the search results select “Visual Studio Community 2019 - Free IDE and Developers Tools

...

Select the “Download Visual Studio” button

Once the installer has been downloaded, run it. You will be presented with a window with a number of install options

...

I have deselected a number of the options on the right

...

Select Install. Once installed you will be presented with this window

...

This is the standard greeting window whenever you open VS. Select “Create a new Project”

...

Select “Console Application - C#” and press Next. On the next dialog enter the project details, then press Next

...

On this last window for the Target Framework select .NET 5.0 (Current), then select Create

...

VS will create your project, you are ready to go

...

Running and Debugging within VS

Place a breakpoint at line 9 (click on the left border)

...

To start debugging select Debug/Start Debugging (or press F5)

...

VS will build the application and then begin to run stopping at the breakpoint

Use the debug control bar to step through the code

...