System Namespace String Class
Retrieves an object that can iterate through the individual characters in the given String.
[ VB ] <Serializable> Public Function GetEnumerator ( ) As CharEnumerator [ C# ] [ Serializable ] public CharEnumerator GetEnumerator ( ); [ C++ ] [ Serializable ] public: CharEnumerator* GetEnumerator ( ); [ JScript ] public Serializable function GetEnumerator ( ) : CharEnumerator;
A CharEnumerator object.
This method is required by programming languages that support the IEnumerator interface to iterate through members of a collection. For example, the Microsoft Visual Basic and C# programming languages' foreach statement invokes this method to return a CharEnumerator object that can provide read-only access to the characters in the given String of String.
String Members IEnumerator IEnumerable Chars
© 2000-2010 Rey Nuñez All rights reserved.If you have any question, comment or suggestion about this site, please send us a note
You can help support asp.net.ph