Today, different way to generate activity request codes are used. Clarify what is the best and safest way to generate such codes.
var requestCode = Rng.NextInt()var aRequestCode = Guid.NewGuid().GetHashCode();
Background & Context
We want to avoid possible collisions if we generate duplicate request codes. Or, at least we want to check if this can happen at all.
Description
Today, different way to generate activity request codes are used. Clarify what is the best and safest way to generate such codes.
var requestCode = Rng.NextInt()
var aRequestCode = Guid.NewGuid().GetHashCode();
Background & Context
We want to avoid possible collisions if we generate duplicate request codes. Or, at least we want to check if this can happen at all.