title: Displaying an array of images in picturebox?
body: <p>I'm very new to visual C# I want to display an array of images in a picture box</p>
  
  <p>Here's my code:</p>
  
  <pre><code>string[] list = Directory.GetFiles(@"C:\\pictures", "*.jpg");
  Image[] images = new Image[5];
  for (int index = 0; index &lt; 5; index++)
  
  {
      //HERE IS WHERE IM STUCKED WITH
      picturebox[index] = Image.FromFile(list[index]);
  }
  </code></pre>