title: Modulus (%) in for-loop
body: <p>I have a code here and I would like that it will display the first 10 and if I click on that, it will display again the second batch. I tried this first with my first for-code and it work now I'm working with arrays it seems it didn't accept it</p>
  
  <p>The one I commented dont work? is this wrong?
  Thanks </p>
  
  <pre><code>long [] potenzen = new long[32];
  potenzen[0] = 1;
  
  for (int i = 1; i &lt; potenzen.Length; ++i)
  {
      potenzen[i] = potenzen[i-1] * 2;
      //if (potenzen % 10 == 0)
      //    Console.ReadLine();
  }
  
  foreach (long elem in potenzen)
  {
      Console.WriteLine(" " + elem);
  }
  </code></pre>