using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
class MainClass
{
static void Main() {
Collection numbers = new Collection();
numbers.Add( 2 );
numbers.Add( 9 );
Collection strings = new Collection();
strings.Add( "J" );
strings.Add( "B" );
Collection< Collection > colNumbers = new Collection>();
colNumbers.Add( numbers );
IList theNumbers = numbers;
foreach( int i in theNumbers ) {
Console.WriteLine( i );
}
}
}