Runtime: Does .Net Core have any replacement for SynchronizedCollection<T> ?

Created on 28 Sep 2016  路  3Comments  路  Source: dotnet/runtime

SynchronizedCollection cannot be found in .net core.
Does netcore has replacement ?

Thanks, Elaine

area-System.Collections question

Most helpful comment

You need the System.ServiceModel.Primitives nuget package and it works in .net core 3.1

All 3 comments

Do any of the collections in System.Collections.Concurrent meet your needs? They are much better than SynchronizedCollection https://msdn.microsoft.com/en-us/library/system.collections.concurrent.aspx

SynchronizedCollection is (full) .NET Framework 2.0 API. Concurrent collections were designed to replace it.

You need the System.ServiceModel.Primitives nuget package and it works in .net core 3.1

Was this page helpful?
0 / 5 - 0 ratings