title: add multiple images from openfiledilog to imagelist and display them in the listview
body: <p>hello friends i am new to c# i am in a project and i want help</p>
  
  <p>i want to add multiple images from openfiledilog to imagelist and display them in the listview.</p>
  
  <p>its adding the images but showing the same picture 
   and here goes my code.. please help me</p>
  
  <pre><code>     int b = 0;![enter image description here][1]
      private void Form1_Load(object sender, EventArgs e)
      {
          var ofd = new OpenFileDialog();
          ofd.Multiselect = true;
          ofd.ShowDialog();
          for (int z = 1; z &lt;= ofd.FileNames.Length ; z++)
          {
              Image img = Image.FromFile(ofd.FileName);
              string a = b.ToString();
              imageList1.Images.Add(a, img);
              var listViewItem = listView1.Items.Add("1");
              listViewItem.ImageKey = a;
              b++;
          }
      }
  </code></pre>