> 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.saliency/yarn.saliency.bestsaliencystrategy.md).

# BestSaliencyStrategy

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

Inherits from `System.Object`

## Summary

A content saliency strategy that returns the best of the provided options.

```csharp
public class BestSaliencyStrategy : IContentSaliencyStrategy
```

## Remarks

This strategy always selects the single best of the available items, regardless of how many times it has been seen before. For a saliency strategy that takes into account how recently content has been seen, see [BestLeastRecentlyViewedSaliencyStrategy](/3.1/api/csharp/yarn.saliency/yarn.saliency.bestleastrecentlyviewedsaliencystrategy.md) .

## Methods

| Name                                                                                                                                                                   | Description                                                                                                                                                      |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [ContentWasSelected(ContentSaliencyOption)](/3.1/api/csharp/yarn.saliency/yarn.saliency.bestsaliencystrategy/yarn.saliency.bestsaliencystrategy.contentwasselected.md) | Called by Yarn Spinner to indicate that a piece of salient content has been selected, and this system should update any state related to how it selects content. |
| [QueryBestContent(IEnumerable)](/3.1/api/csharp/yarn.saliency/yarn.saliency.bestsaliencystrategy/yarn.saliency.bestsaliencystrategy.querybestcontent.md)               | Chooses an item from content that is the most appropriate (or *salient* ) for the user's current context.                                                        |
