C# Class System.Collections.Stack.SyncStack

Inheritance: Stack
Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Clear ( ) : void
Clone ( ) : Object
Contains ( Object obj ) : bool
CopyTo ( Array array, int arrayIndex ) : void
GetEnumerator ( ) : IEnumerator
Push ( Object value ) : void
ToArray ( ) : Object[]

Private Methods

Method Description
Peek ( ) : Object
Pop ( ) : Object
SyncStack ( Stack stack ) : System.Diagnostics

Method Details

Clear() public method

public Clear ( ) : void
return void

Clone() public method

public Clone ( ) : Object
return Object

Contains() public method

public Contains ( Object obj ) : bool
obj Object
return bool

CopyTo() public method

public CopyTo ( Array array, int arrayIndex ) : void
array System.Array
arrayIndex int
return void

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

Push() public method

public Push ( Object value ) : void
value Object
return void

ToArray() public method

public ToArray ( ) : Object[]
return Object[]