2009-02-15 Jonathan Chambers <joncham@gmail.com>
[mcs.git] / tests / gtest-anon-3.cs
blob0d1df48ba35ce5d49f657b090248770a385aa06c
1 using System;
3 delegate void Foo<S> (S s);
5 class X
7 public void Hello<U> (U u)
8 { }
10 public void Test<T> (T t)
12 Hello (t);
13 Foo<T> foo = delegate (T u) {
14 Hello (u);
16 foo (t);
19 static void Main ()
21 X x = new X ();
22 x.Test (3);