File Input/Output

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();
    }
}

Level: Journeyman · More C# terms at this level

Updated

In other subjects