C# 11 File Scoped Types

C#11 added the file scoped types feature: a new file modifier that can be applied to any type definition to restrict its usage to the current file. This way we can have several classes with the same name (namespace.name) in a single project. This is shown through the project below that contains two classes named … Continue reading C# 11 File Scoped Types