# Range(int,int,int,int)

Constructor in [Range](https://docs.yarnspinner.dev/2.2/api/csharp/yarn.compiler/yarn.compiler.range)

## Summary

Initializes a new instance of the [Range](https://docs.yarnspinner.dev/2.2/api/csharp/yarn.compiler/yarn.compiler.range) class, given start and end information.

```csharp
public Range(int startLine, int startCharacter, int endLine, int endCharacter)
```

## Parameters

| Name                 | Description                                                  |
| -------------------- | ------------------------------------------------------------ |
| `int` startLine      | The zero-indexed line number of the start of the range.      |
| `int` startCharacter | The zero-indexed character number of the start of the range. |
| `int` endLine        | The zero-indexed line number of the end of the range.        |
| `int` endCharacter   | The zero-indexed character number of the end of the range.   |
