Click or drag to resize

collectionExtensionsAddRangeT Method (StackT, IEnumerableT, Boolean)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Adds (optionally: unique) values from the specified range:

Namespace:  imbSCI.Core.extensions.data
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static void AddRange<T>(
	this Stack<T> target,
	IEnumerable<T> items,
	bool onlyUniqueValues = true
)
Request Example View Source

Parameters

target
Type: System.Collections.GenericStackT
The target.
items
Type: System.Collections.GenericIEnumerableT
The items.
onlyUniqueValues (Optional)
Type: SystemBoolean

Type Parameters

T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type StackT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also