[Mono-list] IndexOutOfRangeException

Dennis Hayes DENNISH@Raytek.com
Wed, 16 Oct 2002 10:51:38 -0700


It seems to me the IndexOutOfRangeException is more appropriate, maybe the
docs are wrong?
Dennis


>Here is a testclass for SqlBinary. I have tested it with windows and one =
>error=20
>occur: The MSDN says that if the index parameter (SqlBinary indexer)=20
>indicates a position byond the length of the byte array it should throw=20
>SqlNullvalueException but with windows it throws IndexOutOfRangeException=
>=2E
>
>I hope you can understand my english .-p
>
>ville
>