using System;
using System.Collections;
namespace mGnu
{
///
/// A collection of Args for getopt
///
public class ArgCollection : CollectionBase
{
///
///
public void Add(Arg r)
{
List.Add(r);
}
///
///
public Arg this [int i]
{
get
{
return (Arg) List[i];
}
set
{
if ( i >= Count )
{
Add(value);
}
else
{
List[i] = value;
}
}
}
}
}