System.IndexOutOfRangeException
Index was outside the bounds of the array.
An unhandled exception occurred on line 19
16 |
|
---|---|
17 |
|
18 |
|
19 |
|
20 |
|
Solution
Instead of using -1 to access last item, use ^1
Sep 30, 2022
•
Anyone
Install the browser extension
Found this solution helpful? Try our extension for quick solutions to your .NET errors.
Add to Chrome - It's free
0 replies