/// <summary> /// Bypasses a specified number of elements in a sequence. /// </summary> /// <typeparam name="TEnumerator">The type of the sequence.</typeparam> /// <typeparam name="T">The type of the elements in the sequence.</typeparam> /// <param name="enumerator">Enumerator to modify.</param> /// <param name="count">The number of elements to skip.</param> /// <returns><see langword="true"/>, if current element is available; otherwise, <see langword="false"/>.</returns> public static bool Skip <TEnumerator, T>(ref TEnumerator enumerator, int count) where TEnumerator : struct, IEnumerator <T> => NewSequence.Skip <TEnumerator, T>(ref enumerator, count);
/// <summary> /// Bypasses a specified number of elements in a sequence. /// </summary> /// <typeparam name="T">The type of the elements in the sequence.</typeparam> /// <param name="enumerator">Enumerator to modify. Cannot be <see langword="null"/>.</param> /// <param name="count">The number of elements to skip.</param> /// <returns><see langword="true"/>, if current element is available; otherwise, <see langword="false"/>.</returns> public static bool Skip <T>(IEnumerator <T> enumerator, int count) => NewSequence.Skip(enumerator, count);