title: Why use decimal(int [ ]) constructor?
body: <p>I am maintaining a C# desktop application, on windows 7, using Visual Studio 2013. And somewhere in the code there is the following line, that tries to create a 0.01 decimal value, using a Decimal(Int32[]) constructor:</p>
  
  <pre><code>decimal d = new decimal(new int[] { 1, 0, 0, 131072 });
  </code></pre>
  
  <p>First question is, is it different from the following?</p>
  
  <pre><code>decimal d = 0.01M;
  </code></pre>
  
  <p>If it is not different, why the developer has gone through the trouble of coding like that?</p>
  
  <p><strong>I need to change this line</strong> in order to create dynamic values. Something like:</p>
  
  <pre><code>decimal d = (decimal) (1 / Math.Pow(10, digitNumber));
  </code></pre>
  
  <p>Am I going to cause some unwanted behavior this way?</p>