title: Wait for a second on each loop
body: <p>I have program that I want it to do each code then wait and then do next code
  here is my codes:</p>
  
  <pre><code>Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
      Dim msg() As String = {"a", "b", "c", "e"}
  
      For Each item In msg
          MessageBox.Show(item)
      Next
  End Sub
  </code></pre>
  
  <p>if I want to write a simple pseudocode, it would be like this:</p>
  
  <pre><code>for each item in msg
      print(item)
      wait one second
  next item
  </code></pre>