Path

A string or path-like value identifying a location in a filesystem.

What is Path in C#?

Path — A string or path-like value identifying a location in a filesystem.

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