# NativeList<T>.ParallelWriter

> A parallel writer for a NativeList.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public struct NativeList<T>.ParallelWriter
```

## Remarks

Use [NativeList\<T>.AsParallelWriter](/engine/6000.7/script-reference/unity/collections/nativelist1/asparallelwriter.md) to create a parallel writer for a list.

## Fields

| Value                                                                                                | Description               |
| ---------------------------------------------------------------------------------------------------- | ------------------------- |
| [ListData](/engine/6000.7/script-reference/unity/collections/nativelist1/parallelwriter/listdata.md) | The internal unsafe list. |

## Properties

| Property                                                                                   | Description           |
| ------------------------------------------------------------------------------------------ | --------------------- |
| [Ptr](/engine/6000.7/script-reference/unity/collections/nativelist1/parallelwriter/ptr.md) | The data of the list. |

## Methods

| Method                                                                                                               | Description                                                  |
| -------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| [AddNoResize](/engine/6000.7/script-reference/unity/collections/nativelist1/parallelwriter/addnoresize.md)           | Appends an element to the end of this list.                  |
| [AddRangeNoResize](/engine/6000.7/script-reference/unity/collections/nativelist1/parallelwriter/addrangenoresize.md) | Copies elements from a ReadOnlySpan to the end of this list. |
