.NET FrameworkSystem.IO.File class


Syntax

  • string source;
  • string destination;

Parameters

ParameterDetails
sourceThe file that is to be moved to another location.
destinationThe directory in which you would like to move source to (this variable should also contain the name (and file extension) of the file.