Click or drag to resize

ConcurrentListTToList Method

Copies the elements of the list to a new list, 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 List<T> ToList(
	bool clear = false
)

Parameters

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

Return Value

Type: ListT
A list containing copies of the elements of the collection.
See Also