MyClass.java
 

using System;

namespace MyApplication
{
  class Program
  {
    static void Main(string[] args)
    {
      string greeting = "Hello";
      Console.WriteLine(greeting);  
     }
  }
}

Result:
Hello