Enum is basic blue man, it's a concept you should know very well if you've
ever programmed. Enum allows you to define your own enumerated types. So you
can have weekdays = (monday, tuesday, wed... etc) where monday would be 0,
tuesday would be 1, and so on... this makes your code easier to read when
you intend to use integers to represent options. ie: instead of if(option ==
3) you'd have if(option == thursday).
"Blue Man" <blueman_blog@n ospam.com> wrote in message
news:uwkqwvTAEH A.2180@TK2MSFTN GP09.phx.gbl...[color=blue]
> i'm confused! what exactly is this function type and where should i use[/color]
it?[color=blue]
> appreciate any answers, clear article or anything.
>
>
>
>[/color]
Blue Man wrote:
[color=blue]
> i'm confused! what exactly is this function type and where should i use it?
> appreciate any answers, clear article or anything.[/color]
An enumeration is a type which has a finite set of *possible* values
defined either implicitly or explicitly when it's created.
Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.
"Blue Man" <blueman_blog@n ospam.com> wrote in message
news:uwkqwvTAEH A.2180@TK2MSFTN GP09.phx.gbl...[color=blue]
> i'm confused! what exactly is this function type and where should i use[/color]
it?[color=blue]
> appreciate any answers, clear article or anything.
>
>
>
>[/color]
C# Learner wrote:
[color=blue]
> Blue Man wrote:
>[color=green]
>> i'm confused! what exactly is this function type and where should i
>> use it?
>> appreciate any answers, clear article or anything.[/color]
>
>
> An enumeration is a type which has a finite set of *possible* values
> defined either implicitly or explicitly when it's created.[/color]
Comment