StringBuilder.ChunkEnumerator.GetEnumerator Method

Definition

Provides an GetEnumerator() implementation that returns this as the IEnumerator.

C#
public System.Text.StringBuilder.ChunkEnumerator GetEnumerator();

Returns

An enumerator object that can be used to iterate through the chunks.

Applies to

Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10