using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace _12._One_to_N_in_random_order
static void Main(string[] args)
Random rnd = new Random();
Console.Write("Please enter the value of N: ");
int n = Int32.Parse(Console.ReadLine());
for (int i = 0; i < n; i++)
var shuffledArray = arr.ToList().OrderBy(x => rnd.Next()).ToArray();
foreach (int i in shuffledArray)