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!
- Difference between Method Overriding and Method Hiding in C#
- C# | PadLeft() Method
- C# | Math.Abs() Method | Set - 2
- Extension Method in C#
- Stack.Contains() Method in C#
- C# | Math.Pow() Method
- C# | Math.Abs() Method | Set - 1
- Stack.Pop() Method in C#
- C# | Join() Method | Set - 1
- C# | Method Parameters
- C# | Trim() Method
- C# | ToCharArray() Method
- Method Hiding in C#
- C# | Math.Exp() Method
- C# | IndexOfAny() Method
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.