title: Can I use a for loop when i have an array of integers
body: <p>I'm going through a book of fundamentals of programming and I stumbled on this exercise </p>
  
  <p>Write a program that prints the first 100 members of the sequence </p>
  
  <pre><code>2, -3, 4, -5, 6, -7, 8
  </code></pre>
  
  <p>And in the solution to the exercise, it says to check for loops chapter </p>
  
  <p>I tried using a for loop  while storing the numbers in an array to solve it but the compiler says it can't convert type <code>int[]</code> to <code>int</code> </p>
  
  <pre><code>int[] numbers = {1, -2, 3, -4, 5, 6, -7};
  
  for (int i = numbers; i &lt; 100; i++)
  {
      Console.WriteLine(numbers[i]);
  }           
  </code></pre>