rbwhitaker / CSharpPlayersGuideEarlyAccess

A place to track issues with the C# Player's Guide for patches and future editions
18 stars 0 forks source link

File-scoped types #676

Closed rbwhitaker closed 1 year ago

rbwhitaker commented 1 year ago

There is the file access modifier (or is it actually not an access modifier?). I had managed to miss this in an earlier pass, but it definitely deserves discussion. This, like partial classes, is primarily used to allow you to make types that can be used within a section of code, such as generated code, without exposing it to the rest of the world.

rbwhitaker commented 1 year ago

This has been added.