How to write to a stream then to file
问题 As part of another project, I found this article explaining how to bring up a SaveFileDialog. But in the center of the code there is a comment that simply reads //Code to write the stream goes here. and seeing as I don't know how to do this either I am at a bit of a loss. In the end my code will be compiling a list of user selections, each separated by a newline character, and then saving that list to a .json with a name and a location specified by the user. The user will have the option to