L
Lloyd Dupont
I have a class class FileMakerParameter
I also create the following subclass of ArrayList
public sealed class FileMakerParameterCollection : ArrayList,
IDataParameterCollection
{
public FileMakerParameter this[int index]
{
get { /* return something */ }
set { /* something */ }
}
// .. other metods
}
and it compile fine. isn't an error ? isn't new or override mandatory ?
beside I change the signature (return type) of the this[int] accessor, I
should have an error message, shouldn't I ?
I also create the following subclass of ArrayList
public sealed class FileMakerParameterCollection : ArrayList,
IDataParameterCollection
{
public FileMakerParameter this[int index]
{
get { /* return something */ }
set { /* something */ }
}
// .. other metods
}
and it compile fine. isn't an error ? isn't new or override mandatory ?
beside I change the signature (return type) of the this[int] accessor, I
should have an error message, shouldn't I ?