Fix all CreateInstance overloads for void
[mcs.git] / tests / gtest-anon-17.cs
blob03adec5847c6f86a4316681b1bc4d87d7f9aecd1
2 // Supported by C# 3.0
4 public class C
6 public delegate T Func<T> (T t);
8 public static void Test<T, U> (Func<T> f, U u)
12 public static void Main ()
14 Test<int, string> (delegate (int i) { return i; }, "");
15 Test (delegate (int i) { return i; }, 1);