Blazor, Blazor Webassembly, Dotnet Core, Net Core.
choices for the answer. Changes in the NextQuestion method: The choices.Clear() removes any choices from previous questions. The choices.Add(count) adds the count (the correct answer) to the choices list. The while loop continues to add random numbers between 1 and 9 to the choices list until there