repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #15293 from lewing/wasm-clean
[mono-project.git]
/
mcs
/
tests
/
gtest-lambda-30.cs
blob
f8d91a9c8ac213654d3c418c1fa6e9ab4d560e13
1
using
System
.
Linq
;
2
using
System
;
3
4
class
C
5
{
6
static object
Method
<
T
>(
object
[]
objects
)
7
{
8
return
objects
.
Select
(
obj
=>
new
Func
<
T
,
object
>(
x
=>
obj
));
9
}
10
11
public static void
Main
()
12
{
13
Method
<
string
> (
new
[]
{ "a", "b", "c" }
);
14
}
15
}