Single Choice Easy

QIs this a valid code for enum?

  NoYes done;

ID: #12032 Base Enumerations in D365 F&O X++ 1,160 views
Question Info
#12032Q ID
EasyDifficulty
Base Enumerations in D365 F&O X++Topic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Yes
  • B No
Correct Answer

Explanation

An enum is a list of literals. Before you can use an enum, you must declare it in Application Explorer.

Hundreds of enumerable types are built into the standard application. For example, the NoYes enum has two associated literals: No has the value 0, and Yes has the value 1.

To reference an enum value, enter the name of the enum, two colons, and then the name of the literal. For example, to use the literal No in the NoYes enum, enter NoYes::No.

Share This Question

Challenge a friend or share with your study group.