MyClass.java
 

using System;

namespace MyApplication
{
  class Program
  {
    static void Main(string[] args)
    {
      string txt = "The character \\ is called backslash.";
      Console.WriteLine(txt);
    }
  }
}

Result:
The character \ is called backslash.