← Back
IAmTimCorey November 27, 2023 3m

.NET 8 Adds Shuffle to Random for Arrays and Spans

Summary

Net 8 introduces a new random shuffle method for arrays and spans, demonstrating its use with a list of people. The practical takeaway is that this method allows for efficient, in-place shuffling of data, providing a truly random ordering each time it's executed.

View original episode ↗