¿Qué valor tiene total después de ejecutar este código?
int[] array = {5, 10, 15, 20};
int total = 0;
foreach (var valor in array)
total += valor;
¿Qué valor tiene total después de ejecutar este código?
int[] array = {5, 10, 15, 20};
int total = 0;
foreach (var valor in array)
total += valor;