Answer Posted / nishesh
ENUM is a user defined data type. and it is declared to hold constant values for a set of data
example
enum days {sun,mon,tue,wed,thur,fri,sat}
will assign values like this
sun=0
mon=1
tue=2
and so on
if we want to use that series then we can do like this
int First_day=(int)days.sun;
it will give
First_day = 0
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is gridview c#?
What is difference between array and arraylist in c#?
What is the use of properties window?
How many destructors can a class have?
Is and as keyword in c# net?
Which debugging tools you can use in the .NET ssSDK?
What is the base class in .net from which all the classes are derived from?
What is difference between a function and a method?
What is wcf c#?
What is native image generator (ngen.exe)?
What is ado net in c#?
What are interfaces in c#?
Explain how to implement delegates in c#.net
Is null empty or whitespace c#?
What is final keyword in c#?