# Write

> Writes a string to the output.

## Definition

* **Type:** Method
* **Namespace:** [Unity.SmartStrings.Core.Extensions](/engine/6000.7/script-reference/unity/smartstrings/core/extensions.md)
* **Assembly:** UnityEngine.SmartStringsModule

## Write(string)

Writes a string to the output.

```csharp
void Write(string text)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;

## Write(ReadOnlySpan\<char>)

Writes a ReadOnlySpan\_1 text to the output.

```csharp
void Write(ReadOnlySpan<char> text)
```

### Parameters

**** (\[ReadOnlySpan\<char>]\(https\://learn.microsoft.com/dotnet/api/system.readonlyspan-1)):&#x20;
