a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
257 B
C#
19 lines
257 B
C#
using System.Collections.Generic;
|
|
|
|
public class c
|
|
{
|
|
public static IEnumerable<char> func ()
|
|
{
|
|
yield return '0';
|
|
yield break;
|
|
foreach (char c in "1") {
|
|
yield return c;
|
|
}
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
foreach (char a in func ()) {
|
|
}
|
|
}
|
|
} |