class Array

The extension on Array could be done for all Objects supporting [] and size.