API
Thread.Join
Waits for a thread to terminate, with a bounded overload.
Formal Syntax & Structure
csharp syntaxcsharp
worker.Join(TimeSpan.FromSeconds(10))Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.worker.Join(TimeSpan.FromSeconds(10))