title: MEF [Import] C# Example
body: <p>I am having a problem with extending some existing C# code.</p>
  
  <p>There is an instance of a manager class exported from one class.
  It is successfully imported into several other classes using:</p>
  
  <pre><code>[Import]
  private Manager manager = null;
  </code></pre>
  
  <p>I have added the same code to a new class.  It compiles well, but at runtime the reference is always null.</p>
  
  <p>I am obviously missing something.</p>
  
  <p><b>What I'd really like to see is the minimum code (two classes) needed to do an import.</b>
  It doesn't have to do anything except create and export an object (preferably not a string nor a simple value) in one class and show it is non-null when imported to another class.  (I've been getting lost in the details of other examples trying to show functionality rather than just a usable syntax.)</p>
  
  <p>Please note that I need to see an example using [Import], not [Import(type)].</p>
  
  <p>Thanks.</p>