If you are comparing two arrays via [i] then it makes more sense to do:

```
0.upto(mscorlib.length-1) do |i| 
  if mscorlib[i].to_i < max_version[i].to_i
```

I'm not 100% confident this logic will work for the full range of file versions but need more to work it out. Currently on site so dont have much time to test!