-
Notifications
You must be signed in to change notification settings - Fork 7
opustecnica edited this page Oct 20, 2021
·
6 revisions
This tool can run C#
code in the terminal, and is useful for experimenting with C#
syntax and libraries.
dotnet tool install -g dotnet-script
Once installation is complete, we can run it by executing the dotnet-script command
.
We can then type C#
code and see the result in the terminal:
Use Ctrl+C
to exit.
{
"guid": "{eae0e5d6-8091-4a5e-af17-12b57cff0337}",
"name": "C#",
"commandline": "dotnet-script",
"closeOnExit": "always"
}