for(int i=0; i<arr.Length; i++) { DoSomething(arr[i]); }
for(int i=0, len=arr.Length; i<len; i++) { DoSomething(arr[i]); }