Click or drag to resize

ConcurrentListTToArray Method

Copies the elements of the list to a new array, and optionally clear the collection at the same time.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public virtual T[] ToArray(
	bool clear = false
)

Parameters

clear (Optional)
Type: SystemBoolean
A value that indicates whether to clear the collection or not.

Return Value

Type: T
An array containing copies of the elements of the collection.
See Also