16 private char currentElement;
29 if (index >= str.Length)
33 return currentElement;
48 if (index >= str.Length)
52 return currentElement;
66 return MemberwiseClone();
74 if (index < str.Length - 1)
77 currentElement = str[index];
97 currentElement =
'\0';
object Clone()
Creates a copy of the current T:System.CharEnumerator object.
void Dispose()
Releases all resources used by the current instance of the T:System.CharEnumerator class.
Provides a mechanism for releasing unmanaged resources.To browse the .NET Framework source code for t...
Supports iterating over a T:System.String object and reading its individual characters....
bool MoveNext()
Increments the internal index of the current T:System.CharEnumerator object to the next character of ...
Provides information about, and means to manipulate, the current environment and platform....
void Reset()
Initializes the index to a position logically before the first character of the enumerated string.
object Current
Gets the element in the collection at the current position of the enumerator.
Supports cloning, which creates a new instance of a class with the same value as an existing instance...
Specifies that the class can be serialized.
The exception that is thrown when a method call is invalid for the object's current state.
Supports a simple iteration over a non-generic collection.