Mono Class Library: System Namespace

System.CharEnumerator Class

Supports iteration over and provides read-only access to the individual characters in a string. [Edit]

See Also: CharEnumerator Members

[System.Runtime.InteropServices.ComVisible(true)]
public sealed class CharEnumerator : IEnumerator<char>, ICloneable

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

Note:

CharEnumerator is used to support the foreach statement of the C# programming language.

Several independent instances of CharEnumerator across one or more threads can have access to a single instance of string.

For more information regarding the use of an enumerator, see IEnumerator.

[Edit]

Requirements

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