string[] Count = {"Украина","Казахстан","Беларусь", "Киргизия", "Эстония"};
int rnd = Random.Range(0, Countries.Length);
static void Main(string[] args)
{
Random rnd = new Random();
string [] countries = { "Украина", "Казахстан", "Беларусь", "Киргизия", "Эстония","США" };
List<string> uniqueCountry = new List<string>();
int number;
for (int i = 0; i < countries.Length; i++)
{
do
{
number = rnd.Next(0, countries.Length);
} while (uniqueCountry.Contains(countries[number]));
uniqueCountry.Add(countries[number]);
}
foreach (var item in uniqueCountry)
{
Console.WriteLine(item);
}
Console.ReadKey();
}