How do I declare a semi-global (in-namespace) singleton? C# help tells me baldly and briefly it's not like C/C++ (or Pascal or Ada for that matter) and references/variables can't be declared in ...
File-based apps, extension members, nameof improvements, and user-defined compound assignment operators make life easier for C# programmers. You’ll need .NET 10.