# Grain&lt;TGrainState&gt; Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.grain-1/)

## State {#state-3bd0fe7b}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.grain-1/properties/state-3bd0fe7b/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Orleans.Core.Abstractions/Core/Grain.cs)

```csharp
protected TGrainState State
```

Gets or sets the grain state.
