dimanche 15 septembre 2019

Creating an array with random numbers on button Click (C#)

Ah.. I'm a beginner. I cant come up with a method that would generate an array of random numbers on button click. Another click should make a new array an so on.

like.. first click TheNumbers = new int [3] {1, 2, 3};

second click TheNumbers2 = new int [3] {4, 5, 7};

etc..




Aucun commentaire:

Enregistrer un commentaire