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 -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -