begin22

begin22

  • NA
  • 1
  • 0

foreach loop

Feb 12 2006 2:31 PM
double[] pArray= new double[50]; foreach (int i in problem7Array) { pArray[i]= i * 1.13; } how come i never get's incremented and stays at 0 for all 50 iterations? Steve

Answers (2)