Vidyalelo
C# Programming · Q9

Multithreading in C Sharp

Programming · C# Programming · question 9

Q9

What is the difference between a foreground and a background thread in C#?

A.
Foreground threads run in parallel, while background threads run sequentially
B.
Foreground threads keep the application running until they complete, while background threads do not
Answer
C.
Background threads can access shared resources, while foreground threads cannot
D.
None of the above

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board