You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
426 B
C#
18 lines
426 B
C#
1 year ago
|
// https://www.geeksforgeeks.org/how-to-compile-decompile-and-run-c-code-in-linux/
|
||
|
//
|
||
|
// Use mcs compiler to create a windows executable csharphelloworld.exe from csharphelloworld.cs
|
||
|
//
|
||
|
// mcs -out:csharphelloworld.exe csharphelloworld.cs
|
||
|
// mono csharphelloworld.exe
|
||
|
|
||
|
using System;
|
||
|
|
||
|
public class GFG {
|
||
|
|
||
|
static public void Main()
|
||
|
{
|
||
|
Console.WriteLine("Hello World!");
|
||
|
Console.ReadKey();
|
||
|
|
||
|
}
|
||
|
}
|