2010-04-13 Sebastien Pouliot <sebastien@ximian.com>
[mono-project.git] / mcs / tests / test-anon-28.cs
blobdcbd0f6c2db8d5a58f1d95bec09e533bd1b8d51d
1 using System;
3 class Delegable {
4 public event EventHandler MyDelegate;
7 class DelegateTest {
8 static void Main (string[] argv)
10 Console.WriteLine ("Test");
12 Delegable db = new Delegable ();
13 db.MyDelegate += delegate (object o, EventArgs args) {
14 Console.WriteLine ("{0}", argv);
15 Console.WriteLine ("{0}", db);