# Suggestion Class

> The Suggestion class represents a suggestion for a specific text.

- **Product:** TX Spell .NET for WPF
- **Section:** Reference
- **Kind:** Class
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WPF.SDK` (assembly `TXSpell.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TXSpell.Core.SDK` (assembly `TXSpell.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.dll` from the setup
- **Implements:** `System.IComparable<TXTextControl.Proofing.Suggestion>`
- **Path:** TX Spell .NET for WPF > Reference > TXTextControl.Proofing > Suggestion Class
- **425 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/suggestion/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/suggestion/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/suggestion/llms-full.txt

---

### Description

The Suggestion class represents a suggestion for a specific text.

### Syntax

```csharp
public sealed class Suggestion : IComparable<Suggestion>
```

```vbnet
Public NotInheritable Class Suggestion
    Implements IComparable(Of Suggestion)
```

### Examples

The following example includes the text value from a Suggestion object in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Text: {suggestion.Text}");
Console.WriteLine("Suggestion is ready for use.");
```

```vbnet
Console.WriteLine($"Text: {suggestion.Text}")
Console.WriteLine("Suggestion is ready for use.")
```

---

## In This Section

- [Suggestion.Text Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/suggestion/text-property/llms-full.txt): Gets the suggestion text for a specific word.

---

## Nearby

- **Previous:** [SpellingCorrectionUIProvider.SuggestionsHandling Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/suggestionshandling-property/llms-full.txt)
- **Next:** [Suggestion.Text Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/suggestion/text-property/llms-full.txt)
