> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/3.1/api/csharp/yarn/yarn.enumbase.md).

# EnumBase

Class in [Yarn](/3.1/api/csharp/yarn.md)

Inherits from [`TypeBase`](/3.1/api/csharp/yarn/yarn.typebase.md)

## Summary

The base type for all enumeration types.

```csharp
public class EnumBase : TypeBase
```

## Constructors

| Name                                                                    | Description                                                                                |
| ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| [EnumBase()](/3.1/api/csharp/yarn/yarn.enumbase/yarn.enumbase..ctor.md) | Initialises a new instance of the [EnumBase](/3.1/api/csharp/yarn/yarn.enumbase.md) class. |

## Properties

| Name                                                                           | Description                         |
| ------------------------------------------------------------------------------ | ----------------------------------- |
| [Description](/3.1/api/csharp/yarn/yarn.enumbase/yarn.enumbase.description.md) | Gets a string describing this type. |
| [Name](/3.1/api/csharp/yarn/yarn.enumbase/yarn.enumbase.name.md)               | Gets the name of this type.         |
| [Parent](/3.1/api/csharp/yarn/yarn.enumbase/yarn.enumbase.parent.md)           | Gets the parent of this type.       |
