title: Using the Math.Pow function
body: <p>I have a constructor that returns the result of two ints with a 'to the power of' operator. I am trying to use the math.pow method to do this but im not to sure how it work.</p>
  
  <p>Here is my constructor</p>
  
  <pre><code>public int Power (int firstNumber, int secondNumber)
  {
      result = Math.Pow(firstNumber, secondNumber);
      return result;
  }
  </code></pre>
  
  <p>and the code that calls it</p>
  
  <pre><code>case "^":
      result = application.Power(firstInt, secondInt);
      labelResult.Text = ("" + result);
      break;
  </code></pre>
  
  <p>How do i use the Math.Pow method in this situation?</p>