What Is The Enumerations

Now we are going to learn about the Enumerations.
  • 1893

Introduction

A numeration is stand for the arranging in a sequence form i.e. a special set of named which all looks like a set of numbers, usually integers. This is come whenever you take the constant value.
 And every value is  related to the number.  i.e There are the name of the month every month have there possible value.
 There is only seven meaningful values are that is give variable will ever store.
The example of the Enum like value:
num3.jpg
There is a program given below
num2.jpg
Output
num1.jpg

© 2019 DotNetHeaven. All rights reserved.