API

Thread.IsBackground

Background threads do not keep the process alive by themselves.

Formal Syntax & Structure

csharp syntaxcsharp
worker.IsBackground = true;

Working Example

Example Snippetcsharp
// Documentary fragment; see linked lesson for context.worker.IsBackground = true;
C# & .NET Reference