You are developing an application that will read data from a text file and display the file contents. You need to read data from the file, display it, and correctly release the file resources. Which code segment should you use?
A is the correct answer, because the StreamReader is created in the using statement so it can be properly disposed at the end. :)
upvoted 5 times
...
This section is not available anymore. Please use the main Exam Page.70-483 Exam Questions
Log in to ExamTopics
Sign in:
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.
supersunny
Highly Voted 5 years, 11 months agotanujgyan
Highly Voted 5 years, 2 months agotanujgyan
5 years, 2 months agotanujgyan
5 years, 2 months agoDaGrooveNL
Most Recent 4 years, 5 months agothibaultceulemans
5 years, 1 month agogjsdevs
4 years, 7 months agommarinov
5 years, 1 month ago