C# Class Mike.Spikes.DataStructures.StackAndQueue

Mostra file Open project: mikehadlow/Mike.Spikes

Public Methods

Method Description
BlockingCollection ( ) : void

Blocking collection acts as a threadsafe blocking queue

QueueDemo ( ) : void

Use queue for first-in first-out

StackDemo ( ) : void

Use stack anywhere you need last-in first-out

Method Details

BlockingCollection() public method

Blocking collection acts as a threadsafe blocking queue
public BlockingCollection ( ) : void
return void

QueueDemo() public method

Use queue for first-in first-out
public QueueDemo ( ) : void
return void

StackDemo() public method

Use stack anywhere you need last-in first-out
public StackDemo ( ) : void
return void