R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which of the following is a thread-safe collection in .NET?

  • (A) List<T>
  • (B) Dictionary<TKey, TValue>
  • (C) ConcurrentDictionary<TKey, TValue>
  • (D) ArrayList

Explanation by: Ram Sharma
`ConcurrentDictionary` is designed for thread-safe operations in multi-threaded scenarios.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.