---
title: "What is an identifier?"  
description: "What is an identifier?"  
author: "Sumit Kesarwani"  
published: 2014-09-02  
updated: 2020-09-20  
canonical: https://www.mindstick.com/interview/2110/what-is-an-identifier  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# What is an identifier?

Identifiers are northing but names given to various entities uniquely identified in a program. The name of identifiers must differ in spelling or casing. For example, MyProg and myProg are two different identifiers. Programming languages, such as C# and Visual Basic, strictly restrict the programmers from using any keyword as identifiers. Programmers cannot develop a class whose name is public, because, public is a keyword used to specify the accessibility of data in programs.

## Answers

### Answer by Sumit Kesarwani

Identifiers are northing but names given to various entities uniquely identified in a program. The name of identifiers must differ in spelling or casing. For example, MyProg and myProg are two different identifiers. Programming languages, such as C# and Visual Basic, strictly restrict the programmers from using any keyword as identifiers. Programmers cannot develop a class whose name is public, because, public is a keyword used to specify the accessibility of data in programs.


---

Original Source: https://www.mindstick.com/interview/2110/what-is-an-identifier

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
