Pascal case Vs Camel case

Sakeeljawfer
Sep 18, 2021

--

C# Coding Conventions

Pascal case Vs Camel case

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
{
}

--

--

No responses yet