79696027

Date: 2025-07-09 17:36:39
Score: 0.5
Natty:
Report link

I wondered if maybe when I pass a capacity value, they take the nearest bigger prime so I also looked at the constructor source code and that's exactly what they do:

            if (min < 0)
                throw new ArgumentException(SR.Arg_HTCapacityOverflow);

            foreach (int prime in Primes)
            {
                if (prime >= min)
                    return prime;
            }
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: FluidMechanics Potential Flows