-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename and enhance methods in EnumerableExtensions
Renamed `Random<TItem>` to `Shuffle<T>` and updated its implementation to use the Fisher-Yates shuffle algorithm. Added a new `Random<T>` method to retrieve a random element from an `IEnumerable<T>`. Updated method documentation and added `ArgumentNullException` checks. Updated `README.md` to reflect these changes. Added `System.Linq` namespace to support necessary extension methods.
- Loading branch information
Showing
2 changed files
with
50 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters