<PackageReference Include="Polly.Core" Version="8.6.3" />

RandomUtil

static class RandomUtil
using System; namespace Polly.Utils { internal static class RandomUtil { public static double NextDouble() { return Random.Shared.NextDouble(); } public static int Next(int maxValue) { return Random.Shared.Next(maxValue); } } }