Gets the number of elements contained in the ConcurrentStack<T>.
Assembly: mscorlib (in mscorlib.dll)
For determining whether the collection contains any items, use of the IsEmpty property is recommended rather than retrieving the number of items from the property and comparing it to 0.
Available since 8
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 8.1