title: Use a different library for either Linux or windows c#
body: <p>I am wondering if anyone can help me. I am trying to add an SQLite database to an Gtk# application using monodevelop. I want to reference a different library depending on what version of OS is is used. I am unsure how to detect if it is linux or not or if this is possible.</p>
  
  <pre><code>#if (linux)
      using SqliteConnection = Mono.Data.Sqlite.SqliteCommand;
      using SqlCommand = Mono.Data.Sqlite.SqliteCommand;
  #else
      using SqliteConnection = System.Data.SQLite.SQLiteConnection;
      using SqliteCommand = System.Data.SQLite.SQLiteCommand;
  #endif
  </code></pre>