Skip to content

ArrayExtensions Class

Definition

Extension methods for arrays.

public static class ArrayExtensions

View source

Methods

Name Description
CreateWrappedSequence<T>(T[], Int32) Creates a ReadOnlySequence<T> that wraps an array, starting at the specified index. The sequence contains two segments covering the same underlying memory, allowing sequential reading that wraps around the starting position.