BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam 70-483 Topic 8 Question 5 Discussion

Actual exam question for Microsoft's 70-483 exam
Question #: 5
Topic #: 8
[All 70-483 Questions]

You are implementing a method named Calculate that performs conversions between value types and reference types. The following code segment implements the method. (Line numbers are included for reference only.)

You need to ensure that the application does not throw exceptions on invalid conversions.

Which code segment should you insert at line 04?

Show Suggested Answer Hide Answer
Suggested Answer: A

Explicit cast of object into float, and then another Explicit cast of float into int.


https://msdn.microsoft.com/en-us/library/xhbhezf4.aspx

Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel