ExtensionMethodsToListT Method

Scanjour Workflow4 Reference Manual
Convert an Array to a Generic List of type T

Namespace:  Scanjour.Workflow4.Base
Assembly:  Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 23.2.0.0 (23.2.0.0)
Syntax

public static List<T> ToList<T>(
	this Array array
)
where T : class

Parameters

array
Type: SystemArray
The Array to convert to a list of the specified type

Type Parameters

T
The type of the elements contained in the converted list

Return Value

Type: ListT
A List containing the Array elements, converted to the specified type

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Array. 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

Reference