title: Compile Using MONO - C# with Reference To A C# Library?
body: <p>I have a C# library (DLL)</p>
  
  <pre><code>//  ProgramLib.cs //
  using System;
  
  namespace ProgramLibrary
  {
      public class Lib
      {
          public Lib()
          {
              Console.WriteLine("Lib Created");
          }
      }
  }
  </code></pre>
  
  <p>And I have the following console program</p>
  
  <pre><code>//  Program.cs //
  using System;
  using ProgramLibrary;
  
  class MainClass
  {
      public static void Main (string[] args)
      {
          ProgramLibrary.Lib lib = new ProgramLibrary.Lib();
      }
  }
  </code></pre>
  
  <p><strong>In a linux environment, if both files reside in the same directory</strong></p>
  
  <p><strong>What is the Mono compiler (mcs) command that compiles Program.cs with reference to ProgramLib.cs?</strong></p>
  
  <p><strong>Thanks all!!</strong></p>