File General

How to Move a File to a Folder in C#

The Move method moves an existing file to a new location with the same or a different file name. The Move method takes the full path of the move file. The Move method deletes the original file.

The following code snippet moves the source file to the destination file.

 

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.