exam questions

Exam 70-483 All Questions

View all questions & answers for the 70-483 exam

Exam 70-483 topic 3 question 9 discussion

Actual exam question from Microsoft's 70-483
Question #: 9
Topic #: 3
[All 70-483 Questions]

You develop a class named MyClass. MyClass has a method that uses a COM object.
You need to ensure that when MyClass is instantiated by using the using keyword, the COM object is released at the end of the using scope.
Which interface should you implement?

  • A. ISerializable
  • B. IDisposable
  • C. ICloneable
  • D. IFormattable
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Reference:
https://msdn.microsoft.com/en-us/library/system.idisposable(v=vs.110).aspx

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
lh2607
Highly Voted 4 years, 11 months ago
B is correct
upvoted 7 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...