<PackageReference Include="System.Threading.Tasks" Version="3.0.2-beta2" />

ConcurrentStack<T>

public int Count { get; }

public bool IsEmpty { get; }

public ConcurrentStack()

public ConcurrentStack(IEnumerable<T> collection)

public void Clear()

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

public void Push(T item)

public void PushRange(T[] items)

public void PushRange(T[] items, int startIndex, int count)

public T[] ToArray()

public bool TryPeek(out T result)

public bool TryPop(out T result)

public int TryPopRange(T[] items)

public int TryPopRange(T[] items, int startIndex, int count)