# SiloAddress.AllocateNewGeneration

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.siloaddress/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.siloaddress/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/IDs/SiloAddress.cs#L113-L122)

```csharp
public static int AllocateNewGeneration()
```

Allocate a new silo generation number.

### Returns

A new silo generation number.
