Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

Clear

abstract virtual func Clear() -> ()

Declaring type: Stack<T>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: Stack.rvn

Defined by Stack<T>.Clear · Required implementation (no default).

Interface implementation: Required implementation (no default).

Removes all elements.

Return value

()