Mono Class Library: System.String Overview | Members

System.String.GetEnumerator Method

Retrieves an object that can iterate through the individual characters in the current instance.

public CharEnumerator GetEnumerator ()

Returns

A CharEnumerator object.

Remarks

This method is required by programming languages that support the IEnumerator interface to iterate through members of a collection.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0