The Artima Developer Community
Sponsored Link

C# Answers Forum
C# Shuffle Questions and Answers

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
    Next Topic
Flat View: This topic has 0 replies on 1 page
Steven Lee

Posts: 1
Nickname: sunghoste
Registered: May, 2019

C# Shuffle Questions and Answers Posted: May 14, 2019 7:23 AM
Reply to this message Reply
I am trying to make quiz in C#.I made questions and answers and how should I shuffle them?

public void Questions()
string[] questions = new string[4];
label1.Text = questions[0] = "What variable is used to display whole number";
label1.Text = questions[1] = "What variable is used to show characters";
label1.Text = questions[2] = "What variable is used to display words and sentences";
label1.Text = questions[3] = "What variable is used to display decimal point values";
public void Answers()
string[] answers = new string[4];
radioButton1.Text = answers[0] = "int";
radioButton2.Text = answers[1] = "char";
radioButton3.Text = answers[2] = "string";
radioButton4.Text = answers[3] = "float";

    Next Topic Topic: how do you load a bitmapimage in wpf?

Sponsored Links


Copyright © 1996-2018 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use