StackEx

Ecng.Collections

Extends the Stack class to explicitly implement the ICollection interface.

Hereda de: Stack<T>

Implementa: ICollection<T>, IEnumerable<T>, IEnumerable

Propiedades

System#Collections#Generic#ICollection{T}#IsReadOnly

Gets a value indicating whether the stack is read-only.

Métodos

System#Collections#Generic#ICollection{T}#Add(T)

Adds an item to the top of the stack.

item
The item to add.
System#Collections#Generic#ICollection{T}#Remove(T)

Attempts to remove a specific item from the stack. This operation is not supported.

item
The item to remove.

Devuelve: Always throws NotSupportedException.