# GetJobRange(ref JobRanges, int, out int, out int)

> Gets the begin index and end index of a range.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Jobs.LowLevel.Unsafe](/engine/6000.0/script-reference/unity/jobs/lowlevel/unsafe.md)
* **Assembly:** UnityEngine.CoreModule

## GetJobRange(JobRanges, int, int, int)

```csharp
public static void GetJobRange(ref JobRanges ranges, int jobIndex, out int beginIndex, out int endIndex)
```

### Parameters

**** (\[JobRanges]\(/engine/6000.0/script-reference/unity/jobs/lowlevel/unsafe/jobranges)): **** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): **** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): **** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;
