Which three code segments can you use?

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
B. Option B
C. Option C
D. Option D

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

Latest MB-500 Dumps Valid Version with 117 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments