In this lecture you'll get hands-on with manual multithreading in .NET: how to create and start a thread using
Thread, pass it parameters (via a lambda or
ParameterizedThreadStart), manage the thread lifecycle (
Start(),
Join(),
IsAlive,
Name,
CurrentThread,
Sleep(...)), and also go over common mistakes and see a lifecycle diagram. Brief notes on when
Task and
async/
await make more sense, but with emphasis on the basics.