title: Continue in while inside foreach
body: <p>In the following C# code snippet<br>
  I have a '<code>while</code>' loop inside a '<code>foreach</code>' loop and I wish to jump to the next item in '<code>foreach</code>' when a certain condition occurs.</p>
  
  <pre><code>foreach (string objectName in this.ObjectNames)
  {
      // Line to jump to when this.MoveToNextObject is true.
      this.ExecuteSomeCode();
      while (this.boolValue)
      {
          // 'continue' would jump to here.
          this.ExecuteSomeMoreCode();
          if (this.MoveToNextObject())
          {
              // What should go here to jump to next object.
          }
          this.ExecuteEvenMoreCode();
          this.boolValue = this.ResumeWhileLoop();
      }
      this.ExecuteSomeOtherCode();
  }
  </code></pre>
  
  <p>'<code>continue</code>' would jump to the beginning of the '<code>while</code>' loop not the '<code>foreach</code>' loop.
  Is there's a keyword to use here, or should I just use goto which I don't really like.</p>