C# Environment Setup for Linux(deb) Users
Install Compiler
Open the terminal and execute the following command,
C# Example
Create a file named test.cs with the following content and save the file.
using System;
public class Hello {
static public void Main()
{
Console.WriteLine("Hello World!");
Console.ReadKey();
}
}
Build and Run
Open the terminal in the same folder/directory that contains our test.cs example file. Then execute the following command to set the apropreate permission.
To build the test.exe executable file, To run the test.exe executable file,Output
Happy Coding!