Software job search
.net sql interview questions
  The best place for technical interview questions

 
Home.netSql serverAsp.netC#Vb.netAdo.netAjaxMcpd dumpsWord count tool
.net interview questions
 
Question 49   Which namespace has threading

All the threading related classes are grouped under system.threading namespace



Question 50   What are the different levels of thread priority provided by .net

In order to set the priority of a thread we use threadpriority enumeration. there are five levels of threadpriority. they are given below

1) threadpriority.lowest - least priority is given to this thread
2) threadpriority.belownormal - priority is above threadpriority.lowest
3) threadpriority.normal
4) threadpriority.abovenormal
5) threadpriority.highest – highest priority is given to this thread




Question 51   How can we change priority of thread

We can change the priority of a thread by using threadname.priority property



Question 52   What does addressof operator do in background

Addressof operator is used to create a delegate of the backgroundprocess method and then the backgroundprocess is executed using .start method.



Question 53   How can you reference current thread of the method

Thread.currentthread hold the reference to the currently executing thread. it is a public static property



Question 54   What is thread.sleep() in threading

Thread.sleep() is used to pause the execution of a thread for the time mentioned. for example thread.sleep(1000) will pause the execution for 1 second.




 Rate this page
     
 20 votes , average 4 out of 5
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 

Reader's opinions -

No comments
Loading

 
.net interview questions
Asp.net interview questions
C# interview questions
Vb.net interview questions
Ado.net interview questions
Ajax interview questions
Wcf interview questions
Wpf interview questions
.net threading interview questions
.net remoting and webservices interview questions
.net caching interview questions
.net oops interview questions
Sharepoint interview questions
Jquery interview questions
Silverlight interview questions
Linq interview questions
Wwf interview questions
Java interview questions
Sql server interview questions
Ssis interview questions
Ssrs interview questions
Data warehousing interview questions
Data mining interview questions
Oracle interview questions
Php interview questions
Design patterns interview questions
Uml interview questions
Mcpd dumps
Pmp practice tests

This site is best viewed with Internet Explorer 7.0 or higher, Firefox 2.0 or higher, Chrome at a minimum screen resolution of 1024x768.
A complete solution to interview questions
free matrimonial website      
web hosting plans |  compare vps hosting plans |  Compare dedicated hosting plans |  Compare linux hosting plans |  Compare cloud hosting plans |  Compare windows hosting plans | 
Hosting reviews |  GoDaddy reviews | 
Support Wikipedia