title: Is it bad practice to use return inside a void method?
body: <p>Imagine the following code:</p>
  
  <pre><code>void DoThis()
  {
      if (!isValid) return;
  
      DoThat();
  }
  
  void DoThat() {
      Console.WriteLine("DoThat()");
  }
  </code></pre>
  
  <p>Is it OK to use a return inside a void method? Does it have any performance penalty? Or it would be better to write a code like this:</p>
  
  <pre><code>void DoThis()
  {
      if (isValid)
      {
          DoThat();
      }
  }
  </code></pre>