Pascal case Vs Camel case
Sep 18, 2021
C# Coding Conventions
Coding conventions serve the following purposes:
- They create a consistent look to the code, so that readers can focus on content, not layout.
- They enable readers to understand the code more quickly
- They facilitate copying, changing, and maintaining the code.
- They demonstrate C# best practices.
Pascal case
Use pascal casing (“PascalCasing”) when naming a class
, record
, or struct
public class DataService
{
}