Is there an other way to declare a list of image than using var ?
var myimagelist = new Image[9];
Because using var I can't declare it in my public class like :
private int IndexComp;
var __I_ImageCouche = new Image[9];
I'm new at coding, it may be very simple but I couldn't find an answer to my question.
Image[] myimagelist = new Image[9];
But I suggest you use
List<Image> myImageList = new List<Image>();