title: Using a delegate for thread start inside another Sub
body: <p>What I've got is something like this:</p>
  <pre><code>Private Sub GiantLegacySub()
  
  ... lots of variables and legacy code...
  
      Dim somethingNew = New Func(of String, Boolean)(
          Function(stringy as String) As Boolean
              ... new code that uses the legacy variables ...
          End Function)
  
      Dim t = New Thread(AddressOf somethingNew)
  
  End Sub
  </code></pre>
  <p>I am getting an error indicating that <code>somethingNew</code> is being seen as variable name and not a method name and is thus unacceptable by <code>AddressOf</code>.  ( I know that <code>somethingNew</code> is a variable, just one that happens to contain a pointer to a method).</p>
  <p>Is there a way to do this?  I need to leave it inside of <code>GiantLegacySub</code> because of the shear volume of variables in its scope.</p>