In order to use the MessageBox.Show( ) method in your console application, you must ____.

A. enclose the method call in a body of a loop
B. add a reference to the System.Windows.Forms.dll.
C. add a using System.MessageBox directive
D. call on the method from within the WriteLine( ) or Write( ) methods


Answer: B

Computer Science & Information Technology

You might also like to view...

An array of characters ending with the null terminator is called

A) a C-string. B) a C++ String. C) a string literal. D) a string class object.

Computer Science & Information Technology

The value of the expression 20.0 * (9.0/5) + 32.0 is

a. 68.0 b. 52.0 c. expression has a syntax error so there is no value d. 32.0 e. an incorrect expression, the / should be %

Computer Science & Information Technology

The ISO 27002 standard has its origins in which of the following countries?

A) France B) United States C) Germany D) Great Britain

Computer Science & Information Technology

Categories of QoS mapping models include which of the following? (Choose all correct answers.)

A) Black-box media-based models B) White-box media-based models C) Glass-box parameter-based models D) Gray-box parameter-based models

Computer Science & Information Technology