Classes

  • ZipIterator<TFirst, TSecond, TResult>

    Represents an enumerator that combines elements from two sequences using a specified function.

    public abstract class ZipIterator<TFirst, TSecond, TResult> : IEnumerator<TResult>, IDisposable, IEnumerator

    Namespace: System.Linq.Zip

    Assembly: System.Linq.dll

    This abstract class is the foundation for iterating over zipped collections. It defines the core logic for pairing elements from two source enumerables and applying a result selector function.

    Methods

    Properties

Methods

  • Dispose()

    Releases the resources used by the enumerator.

    public abstract void Dispose()
  • MoveNext()

    Advances the enumerator to the next element of the collection.

    public abstract bool MoveNext()
  • Reset()

    Sets the enumerator to its initial position, before the first element.

    public abstract void Reset()

Properties

  • Current

    Gets the current element in the collection.

    public abstract TResult Current { get; }