as shown in the figure, a function to get random numbers is written, and yield return
is used to save trouble.
:
:
if you write the code as
tbData.Text = String.Join("",data) + "\n\n" + String.Join("",data);
The data obtained from is the same again, and the guess is related to time after several tests, because the seeds of random numbers vary according to time.
but why is this happening? Variables automatically change over time.