Stats

44 Contributors: 2 Wednesday, September 14, 2016
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap
Download eBook

System.IO.File class

Download .net eBook

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