2009-03-11 Zoltan Varga <vargaz@gmail.com>
[mcs.git] / tests / ltest-03.cs
blob831a4a216be4db462be8fd2cf0f4e83ca3976fe1
3 using System;
5 public delegate TResult Func<TArg0, TResult> (TArg0 arg0);
7 class Demo
9 static Y F<X, Y> (int a, X value, Func<X, Y> f1)
11 return f1 (value);
13 static int Main ()
15 object o = F (1, "1:15:30", s => TimeSpan.Parse (s));
16 Console.WriteLine (o);
17 return 0;