How to define enum length different types

Erdi Kaya

I must define to new enums and enums can be different length and type. How can I define them?

For example:

F0092 = binary and 8 digits
F0093 = number and 16 digits
Moho

Inherit like a base class:

public enum IntEnum : int
{
    A,
}

public enum ShortEnum : short
{
    A,
}

public enum ByteEnum : byte
{
    A,
}

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Is this enum of two different types?

From Dev

How to abstractly deserialize different enum types with Jackson based on common field?

From Dev

How to define different user types in ASP.NET Identity?

From Dev

How to define guards for different types of input than expected?

From Dev

How can I set the line limit length for different types of files?

From Dev

How can I set the line limit length for different types of files?

From Dev

Putting enum types in different class

From Dev

Putting enum types in different class

From Dev

Define a enum data types for use in several files

From Dev

how to define and use an enum in typescript ?

From Dev

How to define a variable from an enum?

From Dev

Pass arrays of different types of enum values to a function

From Dev

Map with enum key and different value types

From Dev

Java - Same Enum for different Types for DAO

From Dev

Can I define an array type of different types?

From Dev

Different types for zero length bit fields in c?

From Dev

How to define nullable types if nested types are not supported

From Dev

How to define abstract types in agda

From Dev

How to define TYPES with Cassandra Consistencies?

From Dev

How to define abstract types in agda

From Dev

How do I use annotations to define different types of relationships in Hibernate 4 and Spring?

From Dev

How to define a mixed-type array (with different element types) in OpenAPI 2.0?

From Dev

How to define a true logical OR of object types (no mixing of different object keys in result)

From Dev

How to define a true logical OR of object types (no mixing of different object keys in result)

From Java

How to define a non-ordinal enum in Kotlin?

From Dev

How to define the order when sorting a string enum

From Dev

How to define static constants in a Java enum?

From Dev

How to define a hash with enum keys in Typescript

From Dev

BuildConfigField to decide how to define the member (enum)

Related Related

  1. 1

    Is this enum of two different types?

  2. 2

    How to abstractly deserialize different enum types with Jackson based on common field?

  3. 3

    How to define different user types in ASP.NET Identity?

  4. 4

    How to define guards for different types of input than expected?

  5. 5

    How can I set the line limit length for different types of files?

  6. 6

    How can I set the line limit length for different types of files?

  7. 7

    Putting enum types in different class

  8. 8

    Putting enum types in different class

  9. 9

    Define a enum data types for use in several files

  10. 10

    how to define and use an enum in typescript ?

  11. 11

    How to define a variable from an enum?

  12. 12

    Pass arrays of different types of enum values to a function

  13. 13

    Map with enum key and different value types

  14. 14

    Java - Same Enum for different Types for DAO

  15. 15

    Can I define an array type of different types?

  16. 16

    Different types for zero length bit fields in c?

  17. 17

    How to define nullable types if nested types are not supported

  18. 18

    How to define abstract types in agda

  19. 19

    How to define TYPES with Cassandra Consistencies?

  20. 20

    How to define abstract types in agda

  21. 21

    How do I use annotations to define different types of relationships in Hibernate 4 and Spring?

  22. 22

    How to define a mixed-type array (with different element types) in OpenAPI 2.0?

  23. 23

    How to define a true logical OR of object types (no mixing of different object keys in result)

  24. 24

    How to define a true logical OR of object types (no mixing of different object keys in result)

  25. 25

    How to define a non-ordinal enum in Kotlin?

  26. 26

    How to define the order when sorting a string enum

  27. 27

    How to define static constants in a Java enum?

  28. 28

    How to define a hash with enum keys in Typescript

  29. 29

    BuildConfigField to decide how to define the member (enum)

HotTag

Archive