> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.range/yarn.compiler.range..ctor-2.md).

# Range()

Constructor in [Range](/api/csharp/yarn.compiler/yarn.compiler.range.md)

## Summary

Initializes a new instance of the [Range](/api/csharp/yarn.compiler/yarn.compiler.range.md) class.

```csharp
public Range()
```

## Remarks

The [Start](/api/csharp/yarn.compiler/yarn.compiler.range/yarn.compiler.range.start.md) and [End](/api/csharp/yarn.compiler/yarn.compiler.range/yarn.compiler.range.end.md) positions will both be set to have a line and character index of -1.
