c# interview questions :- What is the difference between foreground and background threads ?

Background threads (Daemon threads) close once your application closes (i.e. the main thread). If you have spawned as foreground thread then until all the Foreground threads do not complete the application cannot close.

See the following video on Lambda expressions in C#:

Click to get  Most asked c# interview questions

Regards,

Get more important c# interview questions from author’s blog

About these ads

About c# and .NET Interview questions

This blog is for developers who want to crack .NET and C# interviews. It has all tips and tricks needed to crack .NET interviews , C# interview , SQL Server interview , Java interview , WCF Interview , Silverlight interview , WPF interview , LINQ interview , Entity framework Interview.
This entry was posted in .NET and C# training, background threads, C# interview questions, Csharp interview questions, foreground, programming interview questions and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s