> 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/api/csharp/yarn/yarn.enumbase.md).

# EnumBase

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

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

## Summary

The base type for all enumeration types.

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

## Constructors

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

## Properties

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