Files
Recyclable.Collections/Recyclable.Collections/SystemRandomNumberGenerator.cs
T
mlemanczyk aba28028b1 Performance & standardization improvements.
Business logic fixes.
RecyclableQueue & RecyclableStack added - pending improvements.
2023-01-06 13:54:32 +01:00

9 lines
248 B
C#

namespace Recyclable.Collections
{
public class SystemRandomNumberGenerator : IRandomNumberGenerator
{
private readonly Random _random = new();
public int NextInt32(int startIndex, int endIndex) => _random.Next(startIndex, endIndex);
}
}