IntelliTect / EssentialCSharp

This project contains the source code for the book Essential C# by Mark Michaelis (Addison-Wesley).
https://essentialcsharp.com/
MIT License
387 stars 159 forks source link

Should we talk about non-public static fields starting with s_ ??? #760

Open BenjaminMichaelis opened 6 months ago

BenjaminMichaelis commented 6 months ago

Non-public static fields are s_camelCase.

https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/naming-rules#example-const-modifier-includes-static-and-readonly