?
Choose the correct statements for the following C# code?
Choose the correct statements for the following C# code?
public System.Collections.IEnumerator GetEnumerator()
{
foreach (char ch in chrs)
yield return ch;
}
public System.Collections.IEnumerator GetEnumerator()
{
foreach (char ch in chrs)
yield return ch;
}
Join the Discussion
Login to post a comment or share your explanation.
Login