Finally figured out why For Loop wasn't working, I was writing (int i = 0) instead of (var i = 0);