Table of Contents

Method PushRange

Namespace
Alternet.UI.Extensions
Assembly
Alternet.UI.Common.dll

PushRange<T>(Stack<T>, IEnumerable<T>)

Calls Push(T) for the each item in items.

public static void PushRange<T>(this Stack<T> stack, IEnumerable<T> items)

Parameters

stack Stack<T>

Stack<T> instance.

items IEnumerable<T>

Items to push.

Type Parameters

T

Type of the item