title: C# Execute code before constructor
body: <p>I'd like to automagically execute some code before certain class constructor gets executed (to load some externall assmebly that class requires), all in C#, .NET 2.0</p>
  
  <p>EDIT:</p>
  
  <pre><code>public class MyClass 
  {
      ThisTypeFromExternalAssembly variable;
  }
  </code></pre>
  
  <p>And what I really need is to have assembly loader that is 'attached' somehow to MyClass, to load externall assembly when it is needed. This must happen before constructor, but I would not like to need to call some <code>Init()</code> before constructing <code>MyClass()</code> object</p>