# Sandbox.ResourceLoadContext.ReadSourceAsString

```csharp
string ReadSourceAsString()
```

Reads the uncompiled source file as UTF-8 text, removing an optional byte order mark.
The returned string can be retained after Resource.OnLoaded returns.

### Returns

`string`

Declared in [Sandbox.ResourceLoadContext](/api/Sandbox.ResourceLoadContext).
Assembly: `Sandbox.Engine`.
