Class IEnumerableExtensions
Extension methods for IEnumerable<T>.
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain
Assembly: BotBrain.Core.dll
Syntax
public static class IEnumerableExtensionsMethods
View SourceWithoutLast<T>(IEnumerable<T>)
Gets a new enumerable without the last item.
Declaration
public static IEnumerable<T> WithoutLast<T>(this IEnumerable<T> source)Parameters
| Type | Name | Description | 
|---|---|---|
| IEnumerable<T> | source | The enumerable being extended. | 
Returns
| Type | Description | 
|---|---|
| IEnumerable<T> | A new enumerable without the last item. | 
Type Parameters
| Name | Description | 
|---|---|
| T | The enumeration type. |