FastStack<T>

Summary

Stack faster than stack class When it exceeds a predetermined number of elements(default 32) High load generation

Relation

System.Collections.IEnumerable

Type Params

T Object type

Constructor

#ctor( ) List faster than list class When it exceeds a predetermined number of elements(default 32) High load generation
#ctor(System.Int32,System.Boolean) List faster than list class When it exceeds a predetermined number of elements(default 32) High load generation

Property

Count Gets the count.
IsReadOnly Gets a value indicating whether this instance is read only.

Method

GetEnumerator( ) Get Enumerator
Clear( ) Clear all buffer ( Memory is not free )
Push(T) Pushes the specified item.
Pop( ) Pops this instance.
Peek( ) Peeks this instance.
Contains(T) Check contains value
ToArray( ) Conversion to array
CopyTo(T[],System.Int32) Copy array

Reference