title: int does not contain definition for value
body: <p>I am using Visual Studio C# this error has come up on my code and I don't know how to resolve:</p>
  
  <blockquote>
    <p>'int' does not contain a definition for 'Value' and no extension method 'Value' accepting a first argument of type 'int' could be found (are you missing a using directive or an assembly reference?)</p>
  </blockquote>
  
  <p>The Invalid code is</p>
  
  <pre><code>int Mod = randomizer.Next(2, 11);
  int sum2 = randomizer.Next(2, 11);
  modend = Mod * sum2;
  ModLeft.Text = dividend.ToString();
  ModRight.Text = divisor.ToString();
  sum2.Value = 0;
  </code></pre>