How to get array upperbound value

I am not sure with the end array value. How to get the last array value.

Regards,
Shakeer N