What is a widely accepted naming convention for .NET/C#/WPF projects?
When naming an interface , use pascal casing in addition to prefixing the name with an I . This clearly indicates to consumers that it's an interface . When naming public members of types, such as fields, properties, events, methods, and local functions, use pascal casing.
The only thing that you should make all caps like that are constant/final variables. When you have local variables you should always use camel case. Show activity on this post. Names of enumeration types (also called enums) in general should follow the standard type-naming rules (PascalCasing, etc.).
Microsoft has an extensive MSDN article on naming conventions here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With