dotnet / dotnet/dotnet-api-docs

Rough documentation

Open
#1,061 1 comment 0 reactions 0 assignees View on GitHub
:checkered_flag: Release: .NET Core 2.x area-System.Linq dotnet-api/prod help wanted new-content Pri1
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

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` to return elements from.
* `count`: The number of elements to omit from the end of the sequence.

Returns
-------

An `IEnumerable` 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**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.