M
Magnus.Moraberg
Hi,
I have the following methods -
public MyClass this[int index]
public MyClass this[string myClassName]
if this[int index] recieves an index which is outside the bounds of
the concerned array, I throw - IndexOutOfRangeException
What exception should I throw if no object in the concerned array has
the name myClassName, for this[string myClassName]?
Thanks,
Barry.
I have the following methods -
public MyClass this[int index]
public MyClass this[string myClassName]
if this[int index] recieves an index which is outside the bounds of
the concerned array, I throw - IndexOutOfRangeException
What exception should I throw if no object in the concerned array has
the name myClassName, for this[string myClassName]?
Thanks,
Barry.