1
Vote

Out-of-bounds error in VideoObject.cs

description

Index out of bound line 54.
Index is zero based therefore max is 'imageList.Count - 1'
Error when only 2 images in the imageList
 
imageUrl = imageList[1]
 
At this point I am not sure whether this totally gives the intended behaviour as when there is more than 2 images the original code was returning the 3rd image.

comments