diff --git a/X10D/src/ListExtensions/ListExtensions.cs b/X10D/src/ListExtensions/ListExtensions.cs index 4d58ac5..926cd08 100644 --- a/X10D/src/ListExtensions/ListExtensions.cs +++ b/X10D/src/ListExtensions/ListExtensions.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; namespace X10D.ListExtensions { /// - /// Extension methods for . + /// Extension methods for and . /// public static class ListExtensions { @@ -21,12 +21,12 @@ namespace X10D.ListExtensions /// is . /// /// - /// + /// /// var list = new List<int> { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; /// var number = list.Random(); /// /// - public static T Random(this IReadOnlyList source, System.Random? random = null) + public static T Random(this IReadOnlyList source, Random? random = null) { if (source is null) { @@ -35,15 +35,15 @@ namespace X10D.ListExtensions random ??= RandomExtensions.Random; return random.NextFrom(source); - } - + } + /// /// Reorganizes the elements in a list by implementing a Fisher-Yates shuffle. /// /// The element type. /// The to shuffle. /// Optional. The instance to use for the shuffling. - public static void Shuffle(this IList source, System.Random? random = null) + public static void Shuffle(this IList source, Random? random = null) { if (source is null) {