Class ICollectionExtensions
Provides additional methods for working with ICollection<T>.
Inherited Members
Namespace: Recore.Collections.Generic
Assembly: Recore.dll
Syntax
public static class ICollectionExtensions
Methods
| Improve this Doc View SourceAppend<T>(ICollection<T>, T)
Adds an item to the collection and passes the collection through.
Declaration
public static ICollection<T> Append<T>(this ICollection<T> collection, T item)
Parameters
| Type | Name | Description |
|---|---|---|
| ICollection<T> | collection | |
| T | item |
Returns
| Type | Description |
|---|---|
| ICollection<T> |
Type Parameters
| Name | Description |
|---|---|
| T |