ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 3 - MB-500 discussion

Report
Export

You are a Dynamics 365 Finance developer. You create an integer variable named totalSales.

You need to display the value from totalSales in an info statement.

Which three code segments can you use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.

Option A

Answers
A.

Option A

B.

Option B

Answers
B.

Option B

C.

Option C

Answers
C.

Option C

D.

Option D

Answers
D.

Option D

E.

Option E

Answers
E.

Option E

Suggested answer: A, C, D

Explanation:

A: int2Str converts an integer to the equivalent string.

C: any2Str converts an anytype value to a str value. The anytype data type is a placeholder for any data type.

D: Example:

void MyMethod() { for (int i = 0; i < 10; i++) { info(strfmt("i is %1", i)); } }

Reference:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-variables-data-types

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-data-primitive#anytype

asked 05/10/2024
Nabil MHB
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first