New to Telerik UI for WPFStart a free 30-day trial

Provides a set of extension methods for System.Collections.Generic collections.

Definition

Namespace:System.Collections.Generic

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public static class ExtensionMethods

Inheritance: objectExtensionMethods

Methods

Casts enumerable of TFrom to enumerable of TTo on platforms where covariance is not supported.

C#
public static IEnumerable<TTo> CastCovariant<TFrom, TTo>(this IEnumerable<TFrom> elements) where TFrom : class, TTo
Parameters:elementsIEnumerable<TFrom>Returns:

IEnumerable<TTo>