a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
230 B
C#
19 lines
230 B
C#
using System;
|
|
using System.Collections;
|
|
|
|
class C
|
|
{
|
|
public static IEnumerable Test (bool b, int value)
|
|
{
|
|
if (b) {
|
|
Console.WriteLine (value);
|
|
}
|
|
|
|
yield return 1;
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
Test (true, 5);
|
|
}
|
|
} |