title: Calling a function from within itself in C#
body: <p>This is a pretty common technique in JavaScript but I want to make sure I can do this in C#.</p>
  
  <p>I'm in function <code>DoSomething()</code> and during the execution of a call, I need to call the same function with a different value. See below:</p>
  
  <pre><code>public bool DoSomething(int id)
  {
      if(id &lt; 100)
      {
           // Some logic here
           var someValue = id + 50;
           var outcome = DoSomething(someValue);
  
           // Some more logic here
      }
      else
      {
          // Some other logic here
      }
  }
  </code></pre>
  
  <p>I see no reason why I couldn't do the above but want to see if this is a bad practice in C#.</p>