3c1f479b9d
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
27 lines
336 B
C#
27 lines
336 B
C#
// Compiler options: -langversion:experimental
|
|
|
|
using static System.Console;
|
|
|
|
public class DeclarationExpressions
|
|
{
|
|
public static void Main()
|
|
{
|
|
// TODO:
|
|
//Test (int value = 5);
|
|
//WriteLine (value);
|
|
}
|
|
|
|
void M2 ()
|
|
{
|
|
// for (int i = 0; int v = 2; ++i) {
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
static int Test (int x)
|
|
{
|
|
WriteLine (x);
|
|
return x;
|
|
}
|
|
} |