# Sentence class

Namespace: [Grasshopper2.UI](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class Sentence
```

Utility class for formatting adjectives and subclauses into a single sentence.

## Constructors

- [Sentence](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.sentence/ctor.md): (2 overloads) Create a new formatter.

## Properties

- [Capitalise](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.sentence/capitalise.md): Gets or sets wether to automatically capitalise the first letter of each new sentence.
- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.sentence/count.md): Gets the number of fragments in this sentence, i.e. the total number of adjectives and subclauses.
- [Separator](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.sentence/separator.md): Gets or sets the separator string between subclauses, and between consecutive comma-adjectives.
- [Terminator](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.sentence/terminator.md): Gets or sets the terminating string.

## Methods

- [Adjective](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.sentence/adjective.md): Append an adjective which qualifies the next subclause. Adjectives are separated from each other, but not from the subclause they modify.
- [AndAdjective](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.sentence/andadjective.md): Append an adjective which is joined to the preceding fragment using the word "and". The word is omitted if this is the first fragment.
- [Clause](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.sentence/clause.md): Append a subclause to this formatter.
- [OrAdjective](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.sentence/oradjective.md): Append an adjective which is joined to the preceding fragment using the word "or". The word is omitted if this is the first fragment.
- [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.sentence/tostring.md): Format all fragments into a sentence.

## Convertors

- [operator implicit](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.sentence/op-implicit.md): (static) Auto convert a formatter to a string.
