Open uselessgoddess opened 3 years ago
https://github.com/linksplatform/Collections/blob/9fdbd272869ca4debb5da301e9e519ff1ccd51e9/csharp/Platform.Collections/Arrays/GenericArrayExtensions.cs#L47 If index < 0 then throwed IndexOutOfRangeException from Array.operator[] Check index > 0
IndexOutOfRangeException
index > 0
This method should not throw. It should return false if something failed.
index >= 0 expression should be added in C# code.
index >= 0
https://github.com/linksplatform/Collections/blob/9fdbd272869ca4debb5da301e9e519ff1ccd51e9/csharp/Platform.Collections/Arrays/GenericArrayExtensions.cs#L47 If index < 0 then throwed
IndexOutOfRangeException
from Array.operator[] Checkindex > 0