.NET Framework System.IO.File class

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

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.


Got any .NET Framework Question?