title: How do I add inaccessible parameters in a recursive function in c#?
body: <p>I am trying to write a Recursive function with necessary parameter, but I don't want some of the parameters to be used when calling the function.</p>
  
  <p>And I know how to make optional parameters, but I still want to know if it's possible to make something like a 'private  parameter':</p>
  
  <p>for example, a function which returns the value a number powered by 10:</p>
  
  <pre><code>static int foo(int par, private int count = 0)
  {
      if (count == 9)
      {
          return par;
      }
      return foo(par, count + 1) * par;
  }
  </code></pre>
  
  <p>In the function foo, I want the parameter 'count' to be inaccessible or private.</p>