3 public interface IList<R>
8 public class List<T> : IList<T>
10 public int Map<U> (U item)
16 public class SpecialList<V> : IList<V>
18 public int Map<W> (W item)
28 IList<int> list = new List<int> ();
29 int result = list.Map ("Hello");
33 IList<int> list2 = new SpecialList<int> ();
34 int result2 = list2.Map ("World");