Multiple choice .net

The standard prefix for a dialog control is:

  1. dal.

  2. dia.

  3. dil.

  4. dlc.

  5. dlg.

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

To answer this question, the user needs to be familiar with the concept of dialog controls and their naming conventions.

Now, let's go through each option and explain why it is right or wrong:

A. dal.: This option is incorrect because "dal" is not a standard prefix for dialog controls. The standard prefix typically used is "dlg" or "dia."

B. dia.: This option is incorrect because "dia" is not a standard prefix for dialog controls. The standard prefix typically used is "dlg" or "dia."

C. dil.: This option is incorrect because "dil" is not a standard prefix for dialog controls. The standard prefix typically used is "dlg" or "dia."

D. dlc.: This option is incorrect because "dlc" is not a standard prefix for dialog controls. The standard prefix typically used is "dlg" or "dia."

E. dlg.: This option is correct. "dlg" is the standard prefix for dialog controls. It is short for "dialog" and is commonly used in programming languages and frameworks.

The Answer is: E. dlg.

AI explanation

Classic VB/.NET Hungarian-notation naming conventions prefix controls by type so their purpose is clear from the variable name alone: txt for textboxes, btn for buttons, lbl for labels, and dlg for dialog controls (e.g., dlgOpenFile, dlgFontChooser). None of "dal", "dia", "dil", or "dlc" are recognized standard prefixes in these convention tables — they're plausible-looking distractors but don't appear in the standard naming guides taught alongside VB/VB.NET control conventions.