title: Skip line if string is empty
body: <p>I want to skip a line, if a string is empty.</p>
  
  <p>I try it like this:</p>
  
  <pre><code>public void ReadPostedData()
  {
      Sender = HttpContext.Current.Request.Form["MailFormSubmitter_sender"];
      Subject = HttpContext.Current.Request.Form["MailFormSubmitter_subject"];        
      Message = HttpContext.Current.Request.Form["Message"];
      PdfMessage = HttpContext.Current.Request.Form["PdfMessage"];
  
      string IsCheckPDfMailSubmit = HttpContext.Current.Request.Form["IsCheckedPDFMailForm"];
      if (IsCheckPDfMailSubmit == null || IsCheckPDfMailSubmit.Length == 0)
  
          //string.IsNullOrEmpty(IsCheckPDfMailSubmit);
  
      return IsCheckPDfMailSubmit == null;
  
      IsCheckedPDFMailForm = IsCheckPDfMailSubmit.Equals("True", StringComparison.OrdinalIgnoreCase); 
  
      string v = HttpContext.Current.Request.Form["MailFormSubmitter_includeoverviewpdf"];
      IncludeOverviewPdf = v.Equals("true,false", StringComparison.Ordinal) ? true : false;
      // http://forums.asp.net/t/1314753.aspx
  
      ApplicantMailNodeSelectors[0] = HttpContext.Current.Request.Form["MailFormSubmitter_applicantemailaddress1"];
      ApplicantMailNodeSelectors[1] = HttpContext.Current.Request.Form["MailFormSubmitter_applicantemailaddress2"];
      ApplicantMailNodeSelectors[2] = HttpContext.Current.Request.Form["MailFormSubmitter_applicantemailaddress3"];
  }
  </code></pre>
  
  <p>it is about this line:</p>
  
  <pre><code>if (IsCheckPDfMailSubmit == null || IsCheckPDfMailSubmit.Length == 0)
  </code></pre>
  
  <p>if it is null, dont execute this line:</p>
  
  <pre><code>IsCheckedPDFMailForm = IsCheckPDfMailSubmit.Equals("True", StringComparison.OrdinalIgnoreCase); 
  </code></pre>
  
  <p>I try it like this:</p>
  
  <pre><code>return IsCheckPDfMailSubmit == null;
  </code></pre>
  
  <p>But then I get the following error:</p>
  
  <blockquote>
    <p>Error  6   Since 'Seneca.SfsLib.Connectors.MailFormSubmitterModel.ReadPostedData()' returns void, a return keyword must not be followed by an object expression    </p>
  </blockquote>
  
  <p>So how to skip that?</p>