MyClass.java
 

using System;

namespace MyApplication
{
  class Program
  {
    static void Main(string[] args)
    {
      string x = "10";
      string y = "20";
      string z = x + y;
      Console.WriteLine(z);
    }
  }
}

Result:
1020