c# - What is the difference between Index Out of Range Exception and Index Outside the Bounds of Array Exception? -
is there difference between "index out of range exception" , "index outside bounds of array exception"?
they're same thing.
indexoutofrangeexception
name of exception class thrown. description given visual studio "index outside bounds of array."
this exception thrown when attempt made access element of array index outside of bounds of array.
note indexoutofboundsexception
class not part of c# @ all, rather java language (or microsoft's implementation, j#).
Comments
Post a Comment