I created a console app in c# with a single console.readline statement. Running this app within visual studio and stepping into the debugger shows 7 thread in the thread window (6 worker threads, one is .NET SystemEvents and the other is vshost.RunParkingWindow and the main thread). When I run the app outside visual studio I see a total of 3 threads in windows task manager. Why so many? I would expect 1 thread? What are the others being spawned for?
Thanks