# 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.

```csharp
class OrderFile
{
    string Read(string path)
    {
        using StreamReader reader = new(path);
        return reader.ReadToEnd();
    }
}
```

Level: Journeyman · [More C# terms at this level](https://www.ask-codey.com/glossary/subjects/c-sharp/journeyman)

Updated: September 27, 2026

## In other subjects

- [Path in General](https://www.ask-codey.com/glossary/path-software-development)
- [Path in Java](https://www.ask-codey.com/glossary/path)

Source: https://www.ask-codey.com/glossary/path-c-sharp
