Generating random numbers (int32) [Answered]
As you may know
I need the same behaviour for 32 bit numbers, what's the best way to achieve that? To just use plain old
Guid.NewGuid() returns a 128bit random "number" which is very unlikely to get duplicates of.I need the same behaviour for 32 bit numbers, what's the best way to achieve that? To just use plain old
Random#Next() ? Or use Guid#GetHashCode() ?