2010-04-13 Sebastien Pouliot <sebastien@ximian.com>
[mono-project.git] / mcs / tests / gtest-anon-1.cs
blob4a656d064c770775c63ac4ff06a2856f99b629d1
1 using System;
3 delegate void Foo ();
5 class X
7 public void Hello<U> (U u)
8 { }
10 public void Test<T> (T t)
12 T u = t;
13 Hello (u);
14 Foo foo = delegate {
15 Hello (u);
17 foo ();
18 Hello (u);
21 static void Main ()
23 X x = new X ();
24 x.Test (3);