winforms - create txt file in selected location in c# application -


i developing c# application. in form have added 2 buttons. browse , create file buttons.

now want use browse button browse location , when click create file button, create text file in location.

have at

savefiledialog class

prompts user select location saving file.

or

folderbrowserdialog class

prompts user select folder.

file.create method

creates file in specified path.

or even

file.createtext method

creates or opens file writing utf-8 encoded text


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -