title: Static constructor in VB.NET
body: <p>I am rewriting a C# class in VB.NET. The C# class has a static constructor in it:</p>
  
  <pre><code>static Class()
  {
      ...
  }
  </code></pre>
  
  <p>which, through the call stack, I found is called by the main window's InitializeComponent() method. Everywhere I've looked has told me that the corresponding static constructor in VB.NET is just:</p>
  
  <pre><code>Shared Sub New()
      ...
  End Sub
  </code></pre>
  
  <p>But this method is never invoked. Am I creating my VB.NET static constructor right? Is it likely something else that has nothing to do with my static constructor?</p>