* TreeView.cs: Allow more explicit setting of top node
[mono-project.git] / mcs / tests / gtest-161.cs
blobc538f6bd93d9052ab91e426b0020a4fc2fd6b088
1 // Compiler options: -r:gtest-161-lib.dll
2 public class App {
3 public static void Main() {
4 string s = apply<int, string>(3,
5 delegate (int x) {
6 return x.ToString(); });
7 int y = apply<int, int>(3, FP.identity<int>);
10 static U apply<T, U>(T obj, FP.Mapping<T, U> f) {
11 return f(obj);