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
C. Background threads can access shared resources, while foreground threads cannot
D. None of the above
Answer: Option B

Join The Discussion