projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* Control.cs: Don't do anything in WmShowWindow if the control has been
[mono.git]
/
mcs
/
tests
/
gtest-161.cs
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>);
8
}
9
10
static U apply<T, U>(T obj, FP.Mapping<T, U> f) {
11
return f(obj);
12
}
13
}