eerhardt commented on pull request #6121:
URL: https://github.com/apache/arrow/pull/6121#issuecomment-729258102
You can use the `XXXArray.Builder` class and the `AppendNull()` method. See
below:
```C#
using Apache.Arrow;
FloatArray.Builder builder = new FloatArray.Builder();
builder.Append(5);
builder.Append(4);
builder.Append(3);
builder.Append(2);
builder.Append(1);
builder.AppendNull();
builder.Append(0);
FloatArray floatArray = builder.Build();
for (int i = 0; i < floatArray.Length; i++)
{
Console.WriteLine(floatArray.GetValue(i));
}
```
produces:
```
5
4
3
2
1
0
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]