Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SkipLast< TSource >()

static IEnumerable< TSource > System.Linq.Enumerable.SkipLast< TSource > ( this IEnumerable< TSource > source,
int count )
inlinestatic

Definition at line 7720 of file Enumerable.cs.

7721 {
7722 if (source == null)
7723 {
7724 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.source);
7725 }
7726 if (count > 0)
7727 {
7729 }
7730 return source.Skip(0);
7731 }

References System.Linq.count, System.Linq.source, and System.Linq.ThrowHelper.ThrowArgumentNullException().