title: When is a static variable created?
body: <p>Let's say I have a static variable in a function:</p>
  <pre><code>Private Sub SomeFunction()
      Static staticVar As String = _myField.Value
  End Sub
  </code></pre>
  <p>When, exactly, is the value from <code>_myField</code> assigned to <code>staticVar</code>? Upon the first call to the function? Instantiation of the enclosing class?</p>