title: While loop in VB.NET
body: <p>I have some little issues with syntax. I am used to C# and just started <a href="http://en.wikipedia.org/wiki/Visual_Basic_.NET" rel="nofollow">VB.NET</a>. I am trying to do a <code>while</code> loop when it loops through the items from a list. What is the syntax that I am doing wrong?</p>
  
  <pre><code>While oResponse.outputControl.Items(i) &lt;&gt; Nothing
  
      //Do something
  
  End While
  </code></pre>