---
title: "What is enum in C#?"  
description: "What is enum in C#?"  
author: "Vritika Goel"  
published: 2017-12-19  
canonical: https://answers.mindstick.com/qa/31823/what-is-enum-in-c-sharp  
category: "technology"  
tags: ["c#"]  
reading_time: 1 minute  

---

# What is enum in C#?

What is [enum in C#](https://www.mindstick.com/forum/159044/how-can-i-cast-int-to-enum-in-c-sharp)?

## Answers

### Answer by Hemant Patel

![What is enum in C#?](https://answers.mindstick.com/questionanswer/d7795f5e-4c73-4c6d-802a-bf477abbaf3c/images/02a3ada4-7e49-473e-b4ca-53e7e39a92d2.png)\

The enum keyword is used to create numeric constants in .NET framework. Its a value type with a set of related named constants often referred to as an enumerator list. It's a primitive data type, which is user-defined and this keyword is used to declare an enumeration. enum all members are of an enum type. It's should be a numeric value for each enum type. By default enumeration underlying type is int.

### Answer by Pawan Shukla

In programming Language, an enumerated type (**also called enumeration, enum, or factor in the R programming language, and a categorical variable in statistics**) is a data type consisting of a set of named values called elements, members, enumeral, or enumerators of the type.


---

Original Source: https://answers.mindstick.com/qa/31823/what-is-enum-in-c-sharp

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
