title: Is it OK to use Math.Pow (10, n)?
body: <p>I need to compute power (10, n)</p>
  
  <p>Is it OK to use <code>Math.Pow (10, n)</code>?</p>
  
  <p>Or should I use a loop?</p>
  
  <pre><code>for (int i = 0; i &lt; n; i++){
    x*=10;
  }
  </code></pre>
  
  <p>Which one is better? and why?</p>