How can we change the priority & what the levels of priority provided by .Net?
Syntax to change thread priority
Threading.Priority = Threadpriority.priorityUnit;Levels of priority1) Threadpriority.Highest (10)2) Threadpriority.Abovenormal (7)3) Threadpriority.Normal(5)4) Threadpriority.Belownormal(3)5) Threadpriority.Lowest(1)
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Syntax to change thread priority
Threading.Priority = Threadpriority.priorityUnit;
need an explanation for this answer? contact us directly to get an explanation for this answerLevels of priority
1) Threadpriority.Highest (10)
2) Threadpriority.Abovenormal (7)
3) Threadpriority.Normal(5)
4) Threadpriority.Belownormal(3)
5) Threadpriority.Lowest(1)