sddd1
Member
- Joined
- Jul 22, 2021
- Messages
- 14
- Programming Experience
- 1-3
My Question is Random File will not repeat ,When I Click Rendom File will show "1:. Again I am Click Rendom File will show "2" But In Case show 1,1
Random rand = new Random();
string[] filess = Directory.GetFiles("Select Directory");
string randomFile = filess[rand.Next(filess.Length)];
I want How to Stop Repeat File Once will show 1, Next it never show 1
Random rand = new Random();
string[] filess = Directory.GetFiles("Select Directory");
string randomFile = filess[rand.Next(filess.Length)];
I want How to Stop Repeat File Once will show 1, Next it never show 1