title: How can I fix the error : "Unreachable Code Detected"
body: <p>I have the following code:</p>
  <pre><code>private string GetAnswer()
  {
     ....
  }
  
  private int CountLeapYears(DateTime startDate)
  {
      return count;
      String answer = GetAnswer();
      Response.Write(lblAntwoord); 
  }
  </code></pre>
  <p>Why do I get the error :</p>
  <blockquote>
  <p>Unreachable code detected</p>
  </blockquote>
  <p>The error is shown on the following line <code>String answer = GetAnswer();</code></p>