How can I enumerate all managed threads in C#?

Debuggers are often able to do things “normal” code can’t. You’d probably find that you can do this if you use the profiling/debugging API, but I don’t believe you can do it from “normal” .NET code.

Leave a Comment