Computers

9th -

12thgrade

Image

C# Programming

40
plays

6 questions

Show Answers
See Preview
  • 1. Multiple Choice
    30 seconds
    1 pt

    string[] animal = new string[]{"lion", "tiger","zebra","elephant"};

    What is the value of animal[2];

    lion

    tiger

    zebra

    elephant

  • 2. Multiple Choice
    30 seconds
    1 pt

    What is happening here:

    double number1 = double.Parse(textBox1.Text);

    A text box is being created.

    The value of the textbox is being converted to a double.

    The textbox is being set to the value of the variable.

    An integer is being parsed.

  • 3. Multiple Choice
    30 seconds
    1 pt

    The following is and example of a(n):

    private void button1_Click(object sender, EventArgs e)

    {

    // Do something here.

    }

    Function

    Event Handler

    Method

    Button

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?