title: C# compiler compiles .txt .obj .java files
body: <pre><code>using System;
  class Program {
      public static void Main() {
          Console.WriteLine("Hello World!");
          Console.ReadLine();
      }
  }
  </code></pre>
  
  <p>I save the file as <code>1.java</code>, <code>2.obj</code> and <code>3.txt</code>.
  I then use the Visual Studio Command Prompt to compile the file: <code>csc 1.java csc 2.obj csc 3.txt</code></p>
  
  <p>Surprisingly, it compiles all the 3 files into an executable and executes it successfully.</p>
  
  <p>Could anyone give me an explanation on this behavior?</p>