3 ms·
It didn't melt my brain but it did cause me to scratch my head while debugging something: In .Net, the first repeated byte in Random(0) is 00. I was sure I'
by xnorswap 4y ago
It didn't melt my brain but it did cause me to scratch my head while debugging something:
In .Net, the first repeated byte in Random(0) is 00.
I was sure I'd accidentally messed up either my seeding or thread safety until I double checked it by hand.