CSharp System Enum

CSharp examples for System:Enum

Description

Click the following links for the tutorial for System and Enum.

  1. Is Valid Enum Value
  2. Field Name from Enum
  3. Field Value from Enum
  4. Has Any Flag from Enum
  5. Checks whether Enum instance are assigned or not
  6. 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 succeeded.
  7. Returns true if the enumerable contains a values in sequential order, or is empty. Returns false otherwise.
  8. Gets the index of the given element in this enumeration, or -1 when the item is absent from the enumeration.


  9. Checks whether this enumerable is empty.
  10. Retrieves the name of the constant in the specified enumeration that has the specified value.
  11. Retrieves an array of the names of the constants in a specified enumeration.
  12. Get Enum Description
  13. To Enum
  14. Get Enum
  15. Convert Object To Enum
  16. Get Enum Index


  17. Get Enum Flags
  18. Select List Of Enum Descriptions
  19. Select List Of Enum Values
  20. Adds the given value to the enumeration.
  21. Removes the given value from the enumeration.
  22. Get Values from Enum
  23. Determines whether the Enum flag is on for the specified mask.
  24. Sets the Enum flag off in the specified mask.
  25. Sets the Enum flag on in the specified mask.
  26. A .NET framework 3.5 way to mimic the FX4 "Has Flag" method.
  27. Converts given enumerable to the typed list.
  28. Should Convert Enum
  29. Enum Has Any Flags
  30. Set Enum Flags
  31. Get Enum String Value
  32. Get Enum Value
  33. Get Enum Name Value
  34. Searches an enum for a value by name and returns it.
  35. Parses the enum.