FixWins.com
  • Csharp
  • Contact Us









0 Coding examples: Enum System.Reflection Csharp code examples
  • Each enum member has an underlying integral value.
  • Enum Conversions
  • Flags Enums
  • Enum Operators
  • Check if an integer value is defined for Enum
  • Enumerations
  • Enumerators enable you to create variables that contain a limited number of values.
  • Setting the Numeric Value of Enumerator Members
  • Changing the Underlying Type of an Enumerator
  • Displaying Values from Enumerations
  • Define enum type member field in a class
  • Get to know C# Enums
  • Add enum type as member field
  • Use flag enum and combine them
  • Cast integer value to enum value
  • Combine Enum Values
  • Switch On Enum Type
  • Enum type Day Counter
  • Field Name from Enum
  • Field Value from Enum
  • Has Any Flag from Enum
  • Checks whether Enum instance are assigned or not
  • Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion s
  • Returns true if the enumerable contains a values in sequential order, or is empty. Returns false otherwise.
  • Gets the index of the given element in this enumeration, or -1 when the item is absent from the enumeration.
  • Checks whether this enumerable is empty.
  • Retrieves the name of the constant in the specified enumeration that has the specified value.
  • Retrieves an array of the names of the constants in a specified enumeration.
  • Get Enum Description
  • To Enum
  • Get Enum
  • Convert Object To Enum
  • Get Enum Index
  • Get Enum Flags
  • Select List Of Enum Descriptions
  • Select List Of Enum Values
  • Adds the given value to the enumeration.
  • Removes the given value from the enumeration.
  • Get Values from Enum
  • Determines whether the Enum flag is on for the specified mask.
  • Sets the Enum flag off in the specified mask.
  • Sets the Enum flag on in the specified mask.
  • A .NET framework 3.5 way to mimic the FX4 "Has Flag" method.
  • Converts given enumerable to the typed list.
  • Should Convert Enum
  • Enum Has Any Flags
  • Set Enum Flags
  • Get Enum String Value
  • Get Enum Value
  • Get Enum Name Value
  • Searches an enum for a value by name and returns it.
  • Parses the enum.
  • Get Enum Value Name

Coding examples

0 Custom Type System.Reflection
  • access level
  • Anonymous Types
  • AppDomain
  • as
  • Assembly
  • Attribute
  • Box Unbox
  • class
  • Constant
  • Constructor
  • delegate
  • dynamic type
  • Enum
  • Event
  • Exception
  • Extension Methods
  • Field
  • Finalizer
  • Generics
  • Indexer
  • Inheritance
  • Inner Type
  • interface
  • is
  • Lambda
  • Local Method
  • Method
  • Method Parameter
  • nameof
  • namespace
  • Object Initializer
  • Operator Overloading
  • overload
  • Partial
  • Polymorphism
  • Property
  • read only
  • static
  • struct
  • this
  • try catch finally
0 Data Structure Algorithm System.Reflection
  • Factorial
  • Search
  • Stack
  • Tree
0 Database System.Reflection
  • Connection
  • LINQ Query
  • ODBC
  • SQL Command
0 File IO System.Reflection
  • Binary File
  • Directory
  • File
  • File Command
  • FileStream
  • GZip
  • Path
  • Permission
  • Serialization
  • String Reader Writer
0 Language Basics System.Reflection
  • Array
  • boolean
  • char
  • Console
  • continue
  • Data Type Cast
  • Data Type Format
  • Date Time
  • decimal
  • default
  • do while
  • double
  • Float
  • for
  • for each
  • goto
  • if
  • int
  • Null Operator
  • Nullable
  • Number
  • Operator
  • Preprocessor
  • Random
  • ref
  • Regex
  • string
  • StringBuilder
  • switch
  • Tuple
  • Variable
  • while
0 LINQ System.Reflection
  • Group By
  • IEnumerable
  • Projection
  • Query Array
  • Select
  • where
0 Network System.Reflection
  • IP Address
  • Network Interface
  • URL
  • Web
0 Operating System System.Reflection
  • Diagnostics
  • Environment
  • Process
  • Windows
0 Reflection System.Reflection
  • Attribute
  • Member
0 Security System.Reflection
  • Hash
  • MD5
  • Password
0 System System.Reflection
  • Array Compare
  • Array Convert
  • Array Create
  • Array Dimension
  • Array Element
  • Array Element Add
  • Array Enumerate
  • Array Equal
  • Array Find
  • Array Index
  • Array Null Element
  • Array Operation
  • Array Search
  • Array Shift
  • Array Shuffle
  • Array Slice
  • Array Sort
  • Array Split
  • Array String
  • Attribute
  • Bit
  • Boolean
  • Byte
  • Byte Array
  • Char
  • Char Unicode
  • Converter
  • DateTime Calculate
  • DateTime Compare
  • DateTime Convert
  • DateTime Day
  • DateTime Diff
  • DateTime Format
  • DateTime Hour
  • DateTime Local
  • DateTime Minute
  • DateTime Month
  • DateTime Parse
  • DateTime Quarter
  • DateTime Second
  • DateTime Time
  • DateTime Timestamp
  • DateTime Timezone
  • DateTime Unix
  • DateTime UTC
  • DateTime Week
  • DateTime Year
  • DateTimeOffset
  • Decimal
  • Double
  • Enum
  • Exception
  • Hash
  • Hex
  • IComparable
  • Int32
  • Int64
  • Math Convert
  • Math Easing Function
  • Math Geometry
  • Math Number
  • Math Statistics
  • Math Vector
  • Nullable
  • Object
  • Random
  • String Algorithm
  • String ASCII
  • String Base
  • String Base32
  • String Base64
  • String Case
  • String Contain
  • String Convert
  • String Encode Decode
  • String Endian
  • String Escape
  • String Format
  • String HTML
  • String Join
  • String Match
  • String New Line
  • String Number
  • String Padding
  • String Parse
  • String Quote
  • String Repeat
  • String Replace
  • String Reverse
  • String Search
  • String Shorten
  • String Split
  • String Start End
  • String Strip
  • String SubString
  • TimeSpan
  • Tuple
  • Type
0 System.Collections System.Reflection
  • ICollection
  • IDictionary
  • IEnumerable
0 System.Collections.Generic System.Reflection
  • ICollection
  • IDictionary
  • IEnumerable
  • IList
  • ISet
  • List
0 System.Data System.Reflection
  • DataTable
0 System.Drawing System.Reflection
  • Color
  • Color Brightness
  • Color Calculation
  • Color Convert
  • Color HSV
  • Color RGB
  • Graphics
  • Image Convert
  • Image Effect
  • Image Operation
  • Image Size
  • JPEG
0 System.Drawing.Imaging System.Reflection
  • Bitmap
0 System.Globalization System.Reflection
  • Chinese
  • English
0 System.IO System.Reflection
  • BinaryWriter
  • CSV File
  • DirectoryInfo
  • File Copy
  • File Name
  • File Path
  • File Size
  • File Time
  • FileStream
  • Hex
  • MemoryStream
  • Stream
  • StreamWriter
0 System.Net System.Reflection
  • IP Address
0 System.Reflection System.Reflection
  • Attribute
  • Constructor
  • ConstructorInfo
  • Enum
  • FieldInfo
  • Interface
  • Member
  • MethodInfo
  • Modifier
  • PropertyInfo
0 System.Security.Cryptography System.Reflection
  • ASN
  • Certificate
  • CRC
  • DES
  • Encrypt Decrypt
  • Hash
  • HMACMD5
  • MD5
  • Password
  • SHA1
0 System.Text.RegularExpressions System.Reflection
  • Match Number
  • Match String
0 System.Windows.Forms System.Reflection
  • Dialog
0 System.Windows.Media.Imaging System.Reflection
  • BitmapSource
0 System.Xml System.Reflection
  • XML Attribute
  • XML Child
  • XML DataSet
  • XML Document
  • XML Element
  • XML File
  • XML Format
  • XML Namespace
  • XML Node
  • XML Reader
  • XML Schema
  • XML Serialization
  • XML String
  • XML Writer
0 Thread Asynchronous System.Reflection
  • Mutex
  • Parallel
  • Producer Consumer
  • Synchronize
0 XML System.Reflection
  • XML Document
  • XML LINQ
  • XML Serialization