title: Getting wrong result when using Compound multiplication statement - C#
body: <p>I noticed something very strange. In the code snippet below, the result outputted on the Console is always <code>0</code></p>
  <pre><code>int result = 0;
  for(int i = 1; i &lt; 4; i++)
  {
    result *= 10 + i;
  }
  Console.WriteLine(result);
  </code></pre>
  <p>It looks like <code>result *= 10 + i;</code> always multiplies <code>10</code> to the <code>result</code> (where <code>result</code> is <code>0</code>) and does not add <code>i</code> to it.</p>
  <p>If I change just the multiplication line...</p>
  <pre><code>int result = 0;
  for(int i = 1; i &lt; 4; i++)
  {
    result = result * 10 + i;
  }
  Console.WriteLine(result);
  </code></pre>
  <p>This outputs the correct <code>result</code> on the Console - that is <code>123</code>.</p>
  <p>My question is, why is <code>result *= 10 + i;</code> not working correctly - and always giving the <code>result</code> as <code>0</code>?</p>