# TextChar.Char Property

> Gets the value of the character.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 10.1
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > TextChar.Char Property
- **416 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textchar/char-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textchar/char-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textchar/char-property/llms-full.txt

---

### Description

Gets the value of the character.

### Syntax

```csharp
public char Char { get; }
```

```vbnet
Public ReadOnly Property [Char] As Char
```

### Examples

The following example examines the first text char in a short document by using `TextChar.Char`.

```csharp
textControl.Text = "Quarterly results\nRevenue increased by 12%.";
TextChar textChar = textControl.TextChars[1];

Console.WriteLine($"Char: {textChar.Char}");
Console.WriteLine("Text Char is ready for use.");
```

```vbnet
textControl.Text = "Quarterly results" & vbCrLf & "Revenue increased by 12%."
Dim textChar As TextChar = textControl.TextChars(1)

Console.WriteLine($"Char: {textChar.Char}")
Console.WriteLine("Text Char is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [TextChar.Bounds Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textchar/bounds-property/llms-full.txt)
- **Next:** [TextChar.Number Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textchar/number-property/llms-full.txt)
