# WriteLineSmart(TextWriter, string, params object[])

> Writes a formatted string followed by a line terminator, using the same semantics as Smart.Format.

## Definition

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

## WriteLineSmart(TextWriter, string, Object\[])

```csharp
public static void WriteLineSmart(this TextWriter writer, string format, params object[] args)
```

### Parameters

**** (\[TextWriter]\(https\://learn.microsoft.com/dotnet/api/system.io.textwriter)): Target TextWriter for the formatted output.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Composite format string that defines how the arguments are formatted.**** (\[Object\[]]\(https\://learn.microsoft.com/dotnet/api/system.object)): Arguments to insert into the formatted output.
