Path
noun
say it: “PATH” /pæθ/
The address of a file or folder, and the C# Path class that builds and splits those addresses.
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();
}
}
In a sentence
- “Path.Combine built the path data/books.csv correctly on every computer.”
Level: Journeyman · More C# terms at this level
Updated