Tasks(2) = New AutoResetEvent(False)
is not supposed to be there, just ignore it.
I am trying to create a program that executes threads, waits until they are finished and then executes some more code.
When I run it, I...
Separate names with a comma.