Enumerations Initialization with integer value : Enum : Data Type C# Examples
Ajax
Ajax Examples
Ajax Tutorials
Scripts and Programs
Javascript
Javascript Examples Tutorials
DHTML Tutorials
Javascript References
Scripts and Programs
HTML
HTML Tutorials
HTML References
HTML DOM 0 References
HTML DOM 2 References
CSS
CSS Tutorials
CSS References
PHP
PHP Source Code
PHP References
Scripts and Programs
C#
C# Source Code
C# Examples
C# Examples
»
Data Type
»
Enum
»
Enumerations Initialization with integer value
enum Values { A = 1, B = 5, C = 3, D = 42 }
HTML code for linking to this page:
Related in same category :
Enumerations
Declaration of enum data type
Define constants with const keywords and enum
Readonly Fields with enum
Use enum type categorize objects
Pass enum data to a method
Assign int value to enumerations
Enumerations Initialization with calculation
Output enum element value
Loop through the enum data type
Use an enumeration to index an array
Assign enum value from a member and variable
Use enum data as flags
C# Examples
Data Type
»
Enum
Data Type
Decimal
Boolean Data Type
Decimal Calculation
Integer Family
Decimal convert back and forth
Int array
Decimal format
Int Box Unbox
Decimal parse
Int Calculation
Currency
Int format
Enum
Int parse
Enum base type
Integer format
Enum format
Hexadecimal
Enum switch
Long box unbox
Enums Definition
Long Calculation
System.Enum
Long cast
Bits
Byte box unbox
Bitwise AND
Byte overflow
Bitwise NOT
Ushort
Bitwise OR
Char
Bitwise Shift
Escape sequences
XOR
Char array
Checked
Char cast
Unchecked
Float Point Number
Data Type Cast
Float parse
Convert from string
Float format
Convert to string
Float
Boxing Unboxing
Double
Nullable
Double Calculation
Number format
Double Format
System Convert
Double parse
Variable Assignment
ADO.Net
Assembly
Attribute
Class
Data Structure
Data Type
Date Time
Delegate
Design Patterns
Development
Directory Services
Drawing 2D
File Directory Stream
Generic
GUI Windows Forms
I18N Internationalization
Language Basics
Network
Operator
Operator Overload
Preprocessing Directives
Reflection
Regular Expression
Security
Statement
String
Struct
Thread
Unsafe
Windows
XML