Same random numbers from instantiated class
- by user1797202
I'm learning C# and created a class within my program that holds a random number generator:
class RandomNumberGenerator
{
Random RNG = new Random();
// A bunch of methods that use random numbers are in here
}
Inside this class are a few methods that use the RNG. Data gets sent here from other parts of the program, gets processed, then…