3 public interface IFoo
<S
>
6 public class ArrayList
<T
>
8 public virtual int InsertAll (IFoo
<T
> foo
)
13 public virtual int InsertAll
<U
> (IFoo
<U
> foo
)
19 public virtual int AddAll (IFoo
<T
> foo
)
21 return InsertAll (foo
);
29 ArrayList
<int> list
= new ArrayList
<int> ();
30 return list
.AddAll (null);