projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2004-12-06 Zoltan Varga <vargaz@freemail.hu>
[mono.git]
/
mcs
/
tests
/
a-capture3.cs
1
//
2
// Simple variable capturing
3
//
4
delegate void S ();
5
using System;
6
7
class X {
8
static void Main ()
9
{
10
int a = 1;
11
S b = delegate {
12
a = 2;
13
};
14
b ();
15
Console.WriteLine ("Back, got " + a);
16
}
17
}