Blazor, Blazor Webassembly, Dotnet Core, Net Core.
void NextQuestion() { // generate random number count = Random.Shared.Next(1, 10); choices.Clear(); // add count to choices choices.Add(count); // add 2 more unique random number to choices while (choices.Count < 3) { int choice = Random.Shared.Next(1, 9); if (!choices.Contains(choice)) {