W3
Teacher
Explore
Browse by field
Artificial Intelligence
Accounting & Finance
Information Technology
Show all fields
Interview Q&A
All Interview Questions
Beginner
Intermediate
Advanced
Practice
MCQs
Quizzes
Mock Interviews
About
Light
Dark
Auto
Sign in
Get Started
Search interview questions
Search
6 questions for “Multithreading & Task Parallel Library”
Found in 1 field. Select a question to see its full answer.
Information Technology
6 questions in 1 technology
#
Question
Technology
Topic
Level
1
How does AggregateException work with
Task
.WhenAll() when multiple concurrent
task
s throw exceptions?
C# › Exception Handling
C#
Exception Handling
Advanced
2
How do you implement a thread-safe Singleton pattern in modern C# using Lazy<T>?
C# › Design Patterns in C#
C#
Design Patterns in C#
Beginner
3
How do you correctly implement a producer-consumer pattern using System.Threading.Channels for asynchronous data pipelines?
C# › Asynchronous Programming
C#
Asynchronous Programming
Advanced
4
What is the performance and thread-safety difference between ConcurrentDictionary<TKey,TValue> and a regular Dictionary<TKey,TValue> guarded by a manual lock?
C# › Collections
C#
Collections
Advanced
5
How do you use FileSystemWatcher to monitor a directory for file changes, and what are its common reliability pitfalls?
C# › File I/O & Streams
C#
File I/O & Streams
Advanced
6
How does the difference between the Server GC and Workstation GC modes affect a .NET application's throughput and latency characteristics?
C# › Memory & Garbage Collection
C#
Memory & Garbage Collection
Advanced