title: How do I get rid of this goto?
body: <p>I just started a position and at the end of the workday I wait out traffic by slowly reading through our codebase.  I came across this bit and even after a fair amount of time at the whiteboard I still can't think of a way to extract the <code>goto</code>.  Is there a way to excise this jump? </p>
  
  <pre><code>public void MyUpdate(MyType foo)
  {
      /*Prep code for the loops*/        
      foreach (Thing bar in something)
      {
          foreach (Collection item in bar.Stuff)
          {
              Data dataRX = item.First;
              if (dataRX != null &amp;&amp; dataRX.ID.Equals(globalNonsense.ID))
              {
                  // Update Data with the latest changes
                  dataRX.fooBuddy = foo;
                  goto exitLoops;
              }
          }
      }
  
      exitLoops: ;
  }
  </code></pre>