projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-07-24 Atsushi Enomoto <atsushi@ximian.com>
[mono.git]
/
mcs
/
tests
/
test-anon-18.cs
1
using System;
2
3
delegate void A ();
4
5
class DelegateTest {
6
static void Main (string[] argv)
7
{
8
Console.WriteLine ("Test");
9
10
foreach (string arg in argv) {
11
Console.WriteLine ("OUT: {0}", arg);
12
A a = delegate {
13
Console.WriteLine ("arg: {0}", arg);
14
};
15
a ();
16
}
17
}
18
}
19