Ejemplo n.º 1
0
 private static void PrintState()
 {
     Console.WriteLine($"On thread {Thread.CurrentThread.ManagedThreadId} the state is {ThreadState.GetState<int>()}");
 }