File Input/Output
noun
say it: “FYLE IN-put OWT-put” /faɪl ˈɪnpʊt ˈaʊtpʊt/
Reading data from files and writing data to files.
What is File Input/Output in C#?
File Input/Output — Reading data from files and writing data to files.
class OrderFile
{
string Read(string path)
{
using StreamReader reader = new(path);
return reader.ReadToEnd();
}
}
In a sentence
- “File I/O lets the grade book save its scores when the program closes.”
Level: Journeyman · More C# terms at this level
Updated