having a constant decrease of a number when pushing a button in C#
问题 I am a begginer, so make it easy for me. I want to display an collection of images at in order of their name (0-20) when I press a button . I managed to do it with a random number (0-20), but if I want to have a decrease from 20 to 19 to 18 and so on, how would I do that? public partial class Form1 : Form { //Random r = new Random(); public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { string path = @"C:\Users\Ole-Jeger\Documents\Visual Studio