Display main thread's priority
using System;
using System.Threading;
class MainClass {
public static void Main() {
Thread thrd = Thread.CurrentThread;
Console.WriteLine("Priority: " + thrd.Priority);
}
}
Output Priority: Normal
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
|