You use the . . . . . . . . constant to include the Exclamation icon in a message box.

[amp_mcq option1=”MessageBox.exclamation” option2=”MessageBox.Iconexclamation” option3=”MessageBoxIcon.Exclamation” option4=”MessageBoxWarning.Icon” correct=”option3″]

The correct answer is C. MessageBoxIcon.Exclamation.

The MessageBoxIcon.Exclamation constant is used to include the Exclamation icon in a message box. The Exclamation icon is a yellow triangle with an exclamation point in the center. It is used to indicate a warning or caution.

The other options are incorrect. MessageBox.exclamation is not a valid constant. MessageBox.Iconexclamation is a typo. MessageBoxWarning.Icon is a valid constant, but it does not include the Exclamation icon.

Exit mobile version