Quote:
Originally Posted by HamletEagle
Will check the condition, and will execute one time, cause you check <= 0. i starts from 0, which is <= 0, but what if you will test this yourself ? You should cache ArraySize.
|
No, it won't execute even once if ArraySize() returned zero, because he subtracted it by one, giving -1, and 0(i) is not less or equal to -1.