Creates a new instance of the System.Threading.Thread class.
            
| C# | Visual Basic | Visual C++ | J# | 
public static Thread CreateThread( ThreadStart start, int maxStackSize )
Public Shared Function CreateThread ( _ start As ThreadStart, _ maxStackSize As Integer _ ) As Thread
public: static Thread^ CreateThread( ThreadStart^ start, int maxStackSize )
public static Thread CreateThread( ThreadStart start, int maxStackSize )
- start (ThreadStart)
 - A System.Threading.ThreadStart delegate that represents the methods to be invoked when this thread begins executing.
 
- maxStackSize (Int32)
 - The maximum stack size to be used by the thread, or 0 to use the default maximum stack size specified in the header for the executable.
 
A new Thread instance.
