CharEnumerator.ToString() Method is used to get a string that represents the current object. It is inherited from the Object Class. Syntax: public virtual string ToString();… Read More
Tag Archives: CSharp-CharEnumerator-Class
CharEnumerator.GetType() Method is used to get the type of the current instance. This method is inherited from the Object Class. Syntax: public Type GetType(); Return… Read More
CharEnumerator.Reset Method is used to initializes the index to a position logically before the first character of the enumerated string. Syntax: public void Reset ();… Read More
CharEnumerator.Clone Method is used to create a copy of the current CharEnumerator object. This is useful for saving the current state while iterating through a… Read More
CharEnumerator.MoveNext() Method is used to increments the internal index of the current CharEnumerator object to the next character of the enumerated string. Syntax: public bool… Read More
This method is used to releases all resources used by the current instance of the CharEnumerator class. The Dispose() method leaves the CharEnumerator in an… Read More
GetHashCode() Method serves as the default hash function and returns a hash code for the current object. This method is inherited from the Object class.… Read More