# StreamSequenceTokenUtilities Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.streamsequencetokenutilities/)

## Newer(StreamSequenceToken, StreamSequenceToken) {#newer-this-orleans-streams-streamsequencetoken-orleans-streams-streamsequencetok-58fa75c4}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.streamsequencetokenutilities/methods/newer-this-orleans-streams-streamsequencetoken-orleans-streams-streamsequencetok-58fa75c4/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Core/StreamSequenceToken.cs#L45)

```csharp
public static bool Newer(this StreamSequenceToken me, StreamSequenceToken other)
```

Returns `true` if the first token is newer than the second token.

### Parameters

- `me` (`StreamSequenceToken`): The first token
- `other` (`StreamSequenceToken`): The second token.

### Returns

`true` if the first token is newer than the second token, `false` otherwise.

## Older(StreamSequenceToken, StreamSequenceToken) {#older-this-orleans-streams-streamsequencetoken-orleans-streams-streamsequencetok-7b123013}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.streamsequencetokenutilities/methods/older-this-orleans-streams-streamsequencetoken-orleans-streams-streamsequencetok-7b123013/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Core/StreamSequenceToken.cs#L56)

```csharp
public static bool Older(this StreamSequenceToken me, StreamSequenceToken other)
```

Returns `true` if the first token is older than the second token.

### Parameters

- `me` (`StreamSequenceToken`): The first token
- `other` (`StreamSequenceToken`): The second token.

### Returns

`true` if the first token is older than the second token, `false` otherwise.
