I have a list of strings containing loads of hashtags with texts. ex #csharp #java ect. each hashtag is a own string in a List. I now want to randomly always console.writeline 30 items of that list.
List
List<string> Hashtags = new List<string>();
Writeline
foreach (var x in Hashtags) {
Console.WriteLine(x);
}
Ideally i never wanna have the same hashtag in the random 30.
Aucun commentaire:
Enregistrer un commentaire