foreach

int[] list = new int[]{1,2,3,4,5};
for (int i = 0, i < list.Length; i++){
}
foreach(var item in list){
}

www.youtube.com