First, install vs Code for C # related plugins
1.c#: Https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp
2.Code Runner: Run part of C # code, or debug a project
Https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner
3.c# XML Documentation Comments: Generating C # annotations automatically
Https://marketplace.visualstudio.com/items?itemName=k--kato.docomment
4.c# extensions:c# Tips, code completion, formatting, etc.
Https://marketplace.visualstudio.com/items?itemName=jchannon.csharpextensions
Second, install Scriptcs user execute C # code fragment
1. More references; Scriptcs introduction
2. Usage examples
Select the code you want to run:
Show Results:
Third, the commissioning project:
F5 or Ctrl+shift+d, click the Green Execute button to set breakpoints
Show Results:
More:
VS code build. Netcore Development Environment (i)
Chocolatey Introduction (software Automation management tools)
Introduction to Windows Power Shell
VS code build. Netcore Development Environment (II)