<PackageReference Include="NETStandard.Library" Version="2.0.2" />

System.Collections.Concurrent.ConcurrentBag<T>

public int Count { get; }

public bool IsEmpty { get; }

public ConcurrentBag()

public ConcurrentBag(IEnumerable<T> collection)

public void Add(T item)

public void CopyTo(T[] array, int index)

public T[] ToArray()

public bool TryPeek(out T result)

public bool TryTake(out T result)