vb.net - Why one over another: UBound or Length -
There may be a specific reason to choose a Here is the code and the 1-dimension has passed as the second parameter. Any benefit against / code> [/ code> / P> They do different things! UBound plus
length Could?
Ubound gives you the last indicator in the array, while
length gives you length of time. Because usually
UBound will be
length - 1 .
Comments
Post a Comment