linux-packaging-mono/mcs/tests/test-debug-14.cs

38 lines
357 B
C#
Raw Normal View History

using System;
class C
{
public static void Main ()
{
}
void Test_1()
{
Action a =
() =>
Console.WriteLine ();
}
void Test_2()
{
Action a =
() =>
{
Console.WriteLine ();
};
}
void Test_3()
{
Action a = delegate
{
Console.WriteLine ();
};
}
void Test_Capturing_1(int arg)
{
Func<int> a =
() => arg;
}
}