[Mono-list] Array.cs

Dwivedi , Ajay Kumar AjayKumar.Dwivedi@dresdner-bank.com
Wed, 6 Mar 2002 12:56:57 -0000


> 1.19         (martin   01-Mar-02): 			if (index >=
array.GetLength(0))
> 1.20         (lupus    04-Mar-02): 			if (index +
this.GetLength(0) > array.GetLength(0))
> 1.21         (martin   05-Mar-02): 			if  (index >=
array.GetLength(0))

IMO:

	if(index + this.GetLength(0)  > array.GetLowerBound (0) +
array.GetLength (0))

should be more accurate thing to do.

Happy Hacking,
Ajay