title: How to create a dynamic number of threads?
body: <p>Currently I create a thread the following way (the normal way)</p>
  
  <pre><code>Public loginThread As Thread
  Public loginThreadStart As New ThreadStart(AddressOf LogIntoWhatever)
  Public callLoggedIn As New MethodInvoker(AddressOf loggedIn)
  </code></pre>
  
  <p>However, what I want to be able to do is something along the lines of (this obviously does not work, and is entirely pseudocode)</p>
  
  <pre><code>dim i as integer = 0
  for i = 0 to i = 25
  Public loginThread(i) as Thread
  Public loginThreadStart(i) as New ThreadStart(AddressOf LogIntoWhatever)
  next i
  Public callLoggedIn as new MethodInvoker(AddressOf loggedIn)
  </code></pre>
  
  <p>Where I could change 25 to whatever I wanted and have that number of threads created. They would all be running an identical sub which does do not make calls of any kind to each other, they don't need knowledge of each other. Is anything like this possible? If so, direction towards a solution would help.</p>
  
  <p>Thanks in advance.</p>