projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-07-24 Atsushi Enomoto <atsushi@ximian.com>
[mono.git]
/
mcs
/
tests
/
gtest-113.cs
1
using System;
2
3
public delegate V Mapper<T,V> (T item);
4
5
public class List<T>
6
{
7
public void Map<V> (Mapper<T,V> mapper)
8
{ }
9
}
10
11
class X
12
{
13
static void Main ()
14
{
15
List<int> list = new List<int> ();
16
list.Map (new Mapper<int,double> (delegate (int i) { return i/10.0; }));
17
}
18
}
19