cleol
[mcs.git] / tests / gtest-122.cs
blob2ec8725936fad8e9ca901a937c59c15774edb7d9
1 class Test
3 static void Main(string[] args)
5 A<int> a = new A<int>(new A<int>.B(D), 3);
6 a.Run();
8 public static void D(int y)
10 System.Console.WriteLine("Hello " + 3);
13 class A<T>
15 public delegate void B(T t);
17 protected B _b;
18 protected T _value;
20 public A(B b, T value)
22 _b = b;
23 _value = value;
25 public void Run()
27 _b(_value);