Working with Files in C#: an overview

A program finds a file by its path. An absolute path starts at the drive; a relative path starts at the program's current folder, which in Visual Studio is the build folder, so data files are copied there.

Updated

Cheat sheet: Working with Files in C#: an overview
Category
C#
Level
Apprentice
Tags
Absolute Path (operating-system), c-sharp, Current Directory, File Input/Output (c-sharp), Path (c-sharp), Relative Path (operating-system)