Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets the stated goals.
You are developing a Universal Windows Platform (UWP) app.
Your app stores files on a user’s device.
You need to be able to replace the existing files with new files generated by the user.
Solution: You run the StorageFile.OpenSequentialReadAsync method to replace the existing file.
Does this meet the goal?
file contents.
A.
Yes
B.
No
Explanation:
The OpenSequentialReadAsync() method opens a sequential-access stream over the current file for reading
https://docs.microsoft.com/en-us/uwp/api/windows.storage.storagefile