Try running it outside the debugger (i.e. press Ctrl+F5 instead of F5). You should only see three threads – the main thread, the GC thread & the finalizer thread IIRC. The other threads you see are debugger-related threads.
More Related Contents:
- Create Dynamic Threads in c# [closed]
- How do I abort/cancel TPL Tasks?
- Cross-thread operation not valid [duplicate]
- How to pass parameters to ThreadStart method in Thread?
- BackgroundWorker RunWorkerCompleted Event
- How do I run a simple bit of code in a new thread?
- How to wait for a BackgroundWorker to cancel?
- C# Thread Termination and Thread.Abort()
- Cancelling a pending task synchronously on the UI thread
- ConfigureAwait pushes the continuation to a pool thread
- Code for a simple thread pool in C# [closed]
- A reproducible example of volatile usage
- lowering priority of Task.Factory.StartNew thread
- How to catch exceptions from a ThreadPool.QueueUserWorkItem?
- thread with multiple parameters
- Creating threads – Task.Factory.StartNew vs new Thread()
- C#/.NET analysis tool to find race conditions/deadlocks
- How to make make a .NET COM object apartment-threaded?
- Show Loading animation during loading data in other thread
- C# Windows Forms Application – Updating GUI from another thread AND class?
- What is the difference between ManualResetEvent and AutoResetEvent in .NET?
- Lock (Monitor) internal implementation in .NET
- Queue of async tasks with throttling which supports muti-threading
- Thread Safe Properties in C#
- Wait for pooled threads to complete
- Catching Error when using Task.Factory
- The lack of non-capturing Task.Yield forces me to use Task.Run, why follow that?
- Starting a new thread in a foreach loop
- Async and Await with For Loop [duplicate]
- Calling an async method from a synchronous method