CharEnumerator.MoveNext() Method is used to increments the internal index of the current CharEnumerator object to the next character of the enumerated string.
public bool MoveNext();
Return Value: This method returns the boolean value true value if the index is successfully incremented and within the enumerated string otherwise, false.
Below are the programs to illustrate the use of CharEnumerator.MoveNext() Method:
A Computer Science Portal for Geeks!
Best Data Structure and Algorithms Tutorials!
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.