How to get a random and non-repetitive number in C#

前端 未结 0 399
时光取名叫无心
时光取名叫无心 2021-02-04 05:14

I want to get a random and non-repetitive number between 2 intervals. What I mean by non-repetitive:

Random random = new Random();
while(//someth         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题