How to use an image array in C#
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Declare it and use it like you would any other array
int arraySize = 2;
System.Drawing.Image[] imageArray1 = new System.Drawing.Image[arraySize];
// or
System.Drawing.Image[] imageArray2 = new System.Drawing.Image[] {
System.Drawing.Image.FromStream(streamThatHasImage1),
System.Drawing.Image.FromStream(streamThatHasImage2) };Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)