diff --git a/csharp/Platform.Collections/Lists/IListExtensions.cs b/csharp/Platform.Collections/Lists/IListExtensions.cs index a39cb34e..f672824a 100644 --- a/csharp/Platform.Collections/Lists/IListExtensions.cs +++ b/csharp/Platform.Collections/Lists/IListExtensions.cs @@ -425,7 +425,7 @@ public static int CompareTo(this IList left, IList right) /// Если список пуст, возвращает пустой массив, иначе - массив с пропущенным первым элементом. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static T[] SkipFirst(this IList list) => list.SkipFirst(1); + public static T[] Skip(this IList list) => list.Skip(1); /// /// Skips the specified number of elements in the list and builds an array from the remaining elements. @@ -439,7 +439,7 @@ public static int CompareTo(this IList left, IList right) /// Если список пуст, или количество пропускаемых элементов больше списка - возвращает пустой массив, иначе - массив с указанным количеством пропущенных элементов. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static T[] SkipFirst(this IList list, int skip) + public static T[] Skip(this IList list, int skip) { if (list.IsNullOrEmpty() || list.Count <= skip) {