2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git] / 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);