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

# QueryBestContent(IEnumerable\<ContentSaliencyOption>)

Method in [IContentSaliencyStrategy](/3.1/api/csharp/yarn.saliency/yarn.saliency.icontentsaliencystrategy.md)

## Summary

Chooses an item from content that is the most appropriate (or *salient* ) for the user's current context.

```csharp
ContentSaliencyOption? QueryBestContent(IEnumerable<ContentSaliencyOption> content);
```

## Remarks

Implementations of this method should not modify any state

* that is, they should be 'read-only' operations. If a strategy needs to record information about when a piece of content has been selected, it should do it in the [ContentWasSelected(ContentSaliencyOption)](/3.1/api/csharp/yarn.saliency/yarn.saliency.icontentsaliencystrategy/yarn.saliency.icontentsaliencystrategy.contentwasselected.md) method.

## Parameters

| Name                                                                                  | Description                                                  |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| `System.Collections.Generic.IEnumerable<Yarn.Saliency.ContentSaliencyOption>` content | A collection of content items. This collection may be empty. |

## Returns

An item from `content` that is the most appropriate for display, or `null` if no content should be displayed.
