agoda-com / agoda-com/standards-c-sharp

Don't use SynchronizedCollection<T> , Use collections provided by the System.Collections.Concurrent

Open
#11 1 comment 2 reactions 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
22
Forks
4
PR merge metrics
No merged PRs in 30d

Description

List => SynchronizedCollection
SynchronizedCollection : use lock statement in every access

You should use one of the collections provided by the System.Collections.Concurrent namespace
[When to Use a Thread-Safe Collection](http://msdn.microsoft.com/en-us/library/dd997373.aspx)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.