title: ListView selected Value C#
body: <p>well my code explain everything</p>
  
  <pre><code>        if (listView1.SelectedItems[0].Text == "")
          {
              MessageBox.Show(listView1.SelectedItems[0].Text);
              MessageBox.Show("Please Select Value First", "Information", MessageBoxButtons.OK, MessageBoxIcon.Error);
          }
          else
          {
          }
  </code></pre>
  
  <p>but i get this error explained in the picture
   <a href="http://i.stack.imgur.com/nOXMY.png" rel="nofollow">http://i.stack.imgur.com/nOXMY.png</a></p>