using System.Collections.Concurrent;
public static void Main()
for (int step = 1; step <= 10; step++)
Console.WriteLine($"Step: {step}");
int[] source = Enumerable.Range(1, 15)
.OrderBy(_ => random.Next())
Console.WriteLine($"Source shuffled: [{String.Join(", ", source)}]");
Console.WriteLine($"Source ordered: [{String.Join(", ", source.Order())}]");
ConcurrentDictionary<int, string> dictionary = new();
foreach (int i in source) dictionary.TryAdd(i, null);
Console.WriteLine($"dictionary.Keys: [{String.Join(", ", dictionary.Keys)}]");