title: vb.net - How to Declare new task as SUB with parameters
body: <p>As you know we have a new syntax in vb.net with possibility to create inline tasks so we could run it asynchronously.</p>
  
  <p>This is the correct code:</p>
  
  <pre><code>        Dim testDeclaring As New Task(Sub()
  
                                        End Sub)
          testDeclaring.Start()
  </code></pre>
  
  <p>but now I need to pass a parameter in the subroutine and I can't find correct syntax for that. 
  Is it possible any way? </p>