Summary ------- Omits a specified number of elements from the end of a sequence and returns the remaining elements. Type parameters --------------- * `TSource`: The type of the elements of `source`. Parameters ---------- * `source`: An `IEnumerable<T>` to return elements from. * `count`: The number of elements to omit from the end of the sequence. Returns ------- An `IEnumerable<T>` that contains the elements from the input sequence except the omitted elements. Exceptions ---------- * `ArgumentNullException`: `source` is `null`. --- #### Document Details ⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.* * ID: d21e35d4-1c71-b417-0a63-56158546fcf3 * Version Independent ID: 30f860fa-5e03-b70d-91f9-782c3eb579f4 * Content: [Enumerable.SkipLast(IEnumerable<TSource>, Int32) Method (System.Linq)](https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.skiplast?view=netcore-2.1) * Content Source: [xml/System.Linq/Enumerable.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Linq/Enumerable.xml) * Product: **dotnet-api** * GitHub Login: @dotnet-bot * Microsoft Alias: **dotnetcontent**
Activity
mairaw commentedon Apr 10, 2019
Same feedback here as in #1060.