C# How to compiler c# with console and how to set environment.

  • 42
  • 0
  • 2020-10-07

Describe how to compiler c# with console and how to set environment.

How to compiler c# with console command as below,

csc File.cs

How to set environment :

Add environment path =>  controll panel / system and securitiy

DataSource:

Compiler c# with command with console: https://docs.microsoft.com/zh-tw/dotnet/csharp/language-reference/compiler-options/command-line-building-with-csc-exe

How to set environment : https://rickfaye.blogspot.com/2018/08/c-cscc.html