Skip to content

Commit f1fb23c

Browse files
Added optional cryptographically-strong shuffle.
1 parent d5ac900 commit f1fb23c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ListShuffle/ListExtensions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static void CryptoStrongShuffle<T>(this IList<T> list)
4141
#if NETSTANDARD2_0
4242
using (var generator = RandomNumberGenerator.Create())
4343
#endif
44-
while (n > 1)
44+
while (n > 1)
4545
{
4646
n--;
4747

0 commit comments

Comments
 (0)