title: C# can't skip the next IF
body: <p>When "thursdaytime" = Closed &lt;- i want it to skip the next IF
  Can't get the "goto" to work.
  Sometimes "thursdaytime" is 07:30-16:30 &lt;-- and then the next IF is okay</p>
  
  <pre><code>if (today == DayOfWeek.Thursday &amp;&amp; thursdaytime == "Closed") 
  {
      sqlreadclosed(); 
      goto Ended;
  }
  if (today == DayOfWeek.Thursday &amp;&amp; DateTime.Now.TimeOfDay &gt; System.TimeSpan.Parse(thursdaytime.Substring(6, 5)) || DateTime.Now.TimeOfDay &lt; System.TimeSpan.Parse(thursdaytime.Substring(0, 5)))
  {
      sqlreadclosed();              
  }
  else
  {
      sqlreadopen();                 
  }
      Ended:
  </code></pre>
  
  <p>Can anyone help me out here.. im a Beginner at C# :)
  If its helps, the point is, goto sqlreadclosed() if the clock is under 07:30 or over 16:30 and it works great. but when thursdaytime is "Closed" the under and over IF is crashing.. thats why i want to skip it ,if thursdaytime = Closed</p>