How do I use the thread pool?



How do I use the thread pool?..

Answer / Taruna Singh

To use the thread pool in .NET, you can utilize the System.Threading.Tasks.ThreadPool class. You can submit work items to the thread pool using methods like ThreadPool.QueueUserWorkItem(). It's important to note that using the thread pool is useful for performing short-lived tasks as it helps optimize system resources.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

Who is using .net core?

1 Answers  


In code behind class, name the type of code found. Is it the server side code or client side code?

1 Answers   Accenture,


Do you know what is garbage collector?

1 Answers  


What is equivalent for regsvr32 exe in .net ?

1 Answers  


which method do you use to redirect the user to another page without performing a round trip to the client? How?

1 Answers  


What is file extension of Webservices in .Net?

1 Answers   Arigo Infotech,


What is the use of immutability?

1 Answers  


What is the difference between Server.Transfer and Response.Redirect?

4 Answers  


What is deferred execution vs. Immediate execution in linq?

1 Answers  


How can you turn-on and turn-off cas?

1 Answers  


How do you start, pause, continue or stop a Windows service off the command line?

1 Answers  


What is Event - Delegate? clear syntax for writing a event delegate

1 Answers  


Categories