diff --git a/X10D/src/ListExtensions/ListExtensions.cs b/X10D/src/ListExtensions/ListExtensions.cs index 926cd08..14fb61c 100644 --- a/X10D/src/ListExtensions/ListExtensions.cs +++ b/X10D/src/ListExtensions/ListExtensions.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using X10D.RandomExtensions; namespace X10D.ListExtensions { @@ -33,7 +34,7 @@ namespace X10D.ListExtensions throw new ArgumentNullException(nameof(source)); } - random ??= RandomExtensions.Random; + random ??= RandomExtensions.RandomExtensions.Random; return random.NextFrom(source); } @@ -50,7 +51,7 @@ namespace X10D.ListExtensions throw new ArgumentNullException(nameof(source)); } - random ??= RandomExtensions.Random; + random ??= RandomExtensions.RandomExtensions.Random; var count = source.Count; while (count > 0) diff --git a/X10D/src/RandomExtensions.cs b/X10D/src/RandomExtensions/RandomExtensions.cs similarity index 98% rename from X10D/src/RandomExtensions.cs rename to X10D/src/RandomExtensions/RandomExtensions.cs index fed74fa..f9a8bc2 100644 --- a/X10D/src/RandomExtensions.cs +++ b/X10D/src/RandomExtensions/RandomExtensions.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Linq; -namespace X10D +namespace X10D.RandomExtensions { /// /// Extension methods for .