diff --git a/X10D/src/ListExtensions/ListExtensions.cs b/X10D/src/ListExtensions/ListExtensions.cs index 152f7d9..4e7f233 100644 --- a/X10D/src/ListExtensions/ListExtensions.cs +++ b/X10D/src/ListExtensions/ListExtensions.cs @@ -53,9 +53,7 @@ namespace X10D while (count > 0) { int index = random.Next(count--); - var temp = source[count]; - source[count] = source[index]; - source[index] = temp; + (source[count], source[index]) = (source[index], source[count]); } } }