In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
[mcs.git] / tests / gtest-161.cs
blob6f119fa124f015020a8f6072c8b917b2f870f712
1 // Compiler options: -r:gtest-161-lib.dll
3 public class App
5 public static void Main ()
7 string s = apply<int, string> (3, delegate (int x) {
8 return x.ToString ();
9 });
11 int y = apply<int, int> (3, FP.identity<int>);
14 static U apply<T, U> (T obj, FP.Mapping<T, U> f)
16 return f (obj);