Click or drag to resize
CommonExtensionsRemoveLastT Method
Removes the last item in the list.

Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.WinControls.RadDiagram (in Telerik.WinControls.RadDiagram.dll) Version: 2018.2.515.40 (2018.2.515.40)
Syntax
public static void RemoveLast<T>(
	this IList<T> list
)

Parameters

list
Type: System.Collections.GenericIListT
The list.

Type Parameters

T
The data type of the list.

Usage Note

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