How do I run a .CS file in Ubuntu?

Trung Minh

New member
How do I run a .CS file in Ubuntu?
Answer
# At Ubuntu terminal, download and install following packages via terminal:
sudo apt-add-repository ppa:directhex/ppa. sudo apt-get update. sudo apt-get install monodevelop.
…
cs file e.g.,
  1. using System;
  2. namespace MonoTest.
  3. {
  4. class Program.
  5. {
  6. static void Main(string[] args)
  7. {
  8. Console. WriteLine(“Hai to Mono”);
 

Tìm kiếm

Back
Top