Top "Enumeration" questions

The process of enumerating values, for example from some collection.

IEnumerable , IEnumerator vs foreach, when to use what

I was going through IEnumerable and IEnumerator , but could not get one point clearly..if we have foreach, then why …

c# enumeration
Why do people use enums in C++ as constants while they can use const?

Why do people use enums in C++ as constants when they can use const?

c++ enums enumeration
Lookup Tables Best Practices: DB Tables... or Enumerations

If we have to store the available positions at a company (i.e. Manager, Team Lead, ... etc). What are the …

enumeration lookup dbtable
How to get Get a C# Enumeration in Javascript

I have a enum in my C# code and i want to get the same enum in javascript. Is there …

javascript asp.net enumeration
How to enumerate returned rows in SQL?

I was wondering if it would be possible to enumerate returned rows. Not according to any column content but just …

sql enumeration
Entity Framework 6 Code First - Required Enum data type not working

I am generating a database table using an required enum field. However, when feeding the table, it is possible to …

c# entity-framework-6 enumeration
What is the tilde (~) in the enum definition?

I'm always surprised that even after using C# for all this time now, I still manage to find things I …

c# enums language-features enumeration
What is the best way to convert an IEnumerator to a generic IEnumerator?

I am writing a custom ConfigurationElementCollection for a custom ConfigurationHandler in C#.NET 3.5 and I am wanting to expose the …

c# enumeration ienumerator
Enumerate NSDictionary with keys and objects, PHP style

I know you can Enumerate the keys or values of NSMutableDictionary using NSEnumerator. Is it possible to do both together? …

objective-c enumeration
Deserialize json character as enumeration

I have an enumeration defined with C#, where I'm storing it's values as characters, like this: public enum CardType { Artist = …

c# json json.net enumeration json-deserialization