.NET FrameworkSystem.IO.File class

Download .NET Framework for free

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.

Related Examples

"Touch" a large amount of files (to update last write time)