Naming Conventions -C# Coding Guidelines

C#.NET Coding Guidelines

Naming Conventions

1. Prefix member variables with the underscore ‘_’.
2. Do not prefix member variables with “this”.
3. Use camelCasing for member variables.
4. Use camelCasing for parameters
5. Use camelCasing for local variables
6. Use PascalCasing for function, property, event, and class names.
7. Prefix interfaces names with “I”

Leave a Reply

Discover more from Abhyas

Subscribe now to keep reading and get access to the full archive.

Continue reading