The Fisher-Yates Shuffling Algorithm in C# (And Why It Works So Well)
I've been working on an upcoming modeling practice [https://exceptionnotfound.net/tag/modelingpractice/] blog post and I needed (once again [https://www.exceptionnotfound.net/simulating-candy-land-in-net-part-2-programming-the-game/] ) to implement a card-shuffling algorithm. As always, I turned to the trusty Fisher-Yates shuffle [https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle] to