Namespace
In .NET, threading functionality is defined in System.Threading namespace. So you have to define System.Threading namespace before using any thread classes.
Imports System.Threading
Starting a Thread
A Visual Basic client program starts in a single thread created automatically by the CLR and operating system that is called main thread, and is made multithreaded by creating additional threads. Here's a simple example and its output.
Imports System.Threading
Module Module1
Sub Main()
Dim th As New Thread(AddressOf WriteY)
th.Start()
For i As Integer = 0 To 10
Console.WriteLine("Hello")
Next
End Sub
Private Sub WriteY()
For i As Integer = 0 To 9
Console.Write("world")
Next
End Sub
End Module

Join the conversation! Your thoughts help the community grow.