18 lines
184 B
C#
Raw Normal View History

public class ArrayList<T>
{
void AddAll<U> (U u)
where U : T
{
InsertAll (u);
}
void InsertAll (T t)
{ }
}
class X
{
public static void Main ()
{ }
}