If background completes its processing will it wait for
foreground threads?

Answer Posted / ramsubbu

In .net Threading concept both the background thread and
the foreground thread means the same with minor difference
between the two, in a foreground thread you can control and
make sure that the thread has completed its execution,
whereas we can not control the execution of background
thread, Background threads do not prevent the process from
being terminated.

In general when all the foreground threads are stopped the
CLR stops the process by terminating the background threads.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the components required to create a route in ASP.Net MVC?

668


Explain the request flow in asp.net mvc framework?

633


If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

2080


Is entity framework slow?

633


What is the benefit of entity framework?

625






Explain what platforms does the .net framework run on?

635


What is .net framwork?

641


What is domain class model?

603


what is complex type?

675


How we can add the CSS in ASP.Net MVC?

659


Explain the advantage of packaging over xcopy in .net?

628


Is the following route definition a valid route definition? {controller}{action}/{id}

866


explain what is ado.net entity framework?

656


What is .net core framework?

617


What is code first? : Entity framework

654