title: Boolean recursion method
body: <p>So I have been trying to practice recursion so far and I got stuck.</p>
  
  <p>I have to write a method that is type of <code>bool</code> and takes two parameters (array of ints, and int). The method itself should check if numbers in the array are bigger then 1000.</p>
  
  <p>Depending on second parameter it should check only those numbers. So if array is <code>4, 5, 1001, 1003</code> and second parameter is <code>3</code> then only first 3 values in the array should be checked (<code>4,5,1001</code>). In this case it should return false because 4 and 5 are smaller then 1000. But if first 3 values were bigger then 1000, method should return true. </p>
  
  <p>This is the leftovers of my method. I tried a lot before.<br>
  I am a bit confused how should it work with <code>Boolean</code>. </p>
  
  <pre><code>public bool sumofD(int [] x , int n)
  {
      if (x[n] &lt; 1000)
          { return false; }
      else
      {
          sumofD(x, n - 1);
          return true;
      }               
  }
  </code></pre>