projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[System.Net.Http] HttpClient timeout range checks. Fixes #25755
[mono.git]
/
mcs
/
tests
/
gtest-161.cs
1
// Compiler options: -r:gtest-161-lib.dll
2
3
public class App
4
{
5
public static void Main ()
6
{
7
string s = apply<int, string> (3, delegate (int x) {
8
return x.ToString ();
9
});
10
11
int y = apply<int, int> (3, FP.identity<int>);
12
}
13
14
static U apply<T, U> (T obj, FP.Mapping<T, U> f)
15
{
16
return f (obj);
17
}
18
}