Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is ENUM?

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


Please Help Members By Posting Answers For Below Questions

What is tryparse c#?

933


List down the access modifiers available in c#?

859


What are the features of c#?

909


Is c# used for frontend or backend?

1035


What is trim in c#?

994


What kind of the information stored inside the assembly?

996


When is a class declared as a class abstract?

970


What is object array in c#?

953


Define parsing?

874


What is difference between ilist and list in c#?

947


What is attribute and reflection in c#?

973


How big is a 64 bit integer?

877


What do you mean by “finalize” and “finally” methods in c#?

895


What is difference between iqueryable and ienumerable in c#?

863


What the different phase/steps of acquiring a proxy object in webservice?

980