a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
20 lines
305 B
C#
20 lines
305 B
C#
using System;
|
|
|
|
delegate void A ();
|
|
|
|
class DelegateTest {
|
|
public static void Main (string[] argv)
|
|
{
|
|
Console.WriteLine ("Test");
|
|
|
|
foreach (string arg in argv) {
|
|
Console.WriteLine ("OUT: {0}", arg);
|
|
A a = delegate {
|
|
Console.WriteLine ("arg: {0}", arg);
|
|
};
|
|
a ();
|
|
}
|
|
}
|
|
}
|
|
|