Click or drag to resize
CommonExtensionsCloneT Method (IEnumerableT)
Clones the list.

Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core (in Telerik.Windows.Diagrams.Core.dll) Version: 2017.3.913.40 (2017.3.913.40)
Syntax
public static IList<T> Clone<T>(
	this IEnumerable<T> list
)

Parameters

list
Type: System.Collections.GenericIEnumerableT
The list to clone.

Type Parameters

T
The data type of the list.

Return Value

Type: IListT
The cloned list.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableT. 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).
Exceptions
ExceptionCondition
ArgumentNullExceptionWill be raised if the underlying list is null.
See Also