I have a Random instance in my C# project which I instantiated with a seed.
private Random randomInt = new Random(1234);
I want to do reseed the same instance without creating new Random instances.
randomInt.Reseed(5678);
Is there any way to achieve this? Or I should just create a new instance?
Aucun commentaire:
Enregistrer un commentaire