agoda-com / agoda-com/standards-c-sharp
Don't use SynchronizedCollection<T> , Use collections provided by the System.Collections.Concurrent
Offen
bug
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 22
- Forks
- 4
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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)
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.