---
title: "What is Naming Convention and its types?"  
description: "What is Naming Convention and its types?"  
author: "Nishi Tiwari"  
published: 2019-12-10  
updated: 2019-12-10  
canonical: https://www.mindstick.com/forum/145551/what-is-naming-convention-and-its-types  
category: "c#"  
tags: ["c#", ".net", "naming convention"]  
reading_time: 1 minute  

---

# What is Naming Convention and its types?

please [explain in brief](https://www.mindstick.com/forum/157681/explain-in-brief-about-the-access-control-list-in-os).

## Replies

### Reply by Nishi Tiwari

Naming convention can be defined as standard set of rules which tell us how an identifier will be used.

Whenever a question arises “**how to name an element**” the answer is naming convention.

### Why it is required?

- gradeofstudent
- GradeOfStudent

In above case, first case is difficult to read than second case where we read and understand easily what it is about.

So, naming convention is required to reduce the effort needed to read and understand the source code. It also maintains the consistency of data.

#### Different types of Naming Convention?

### PascalCase

The first character of all words is upper case & other characters are lower case.

Mainly used by classes and method name.

#### For example: -

```
class HelloWorld, void HelloWorld().
```

### camelCase

The first character of all words, except the first word ,is upper case & other characters are lower case.

Mainly used by variables and method parameters.

#### For example:-

```
studentName, Student(firstName ,lastName)
```


---

Original Source: https://www.mindstick.com/forum/145551/what-is-naming-convention-and-its-types

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
