NSArray<TKey>.ToArray Method

Definition

Converts this NSArray<TKey> to a strongly-typed C# array, where NSNull elements are converted to null.

public TKey[] ToArray();
public TKey?[] ToArray();
override this.ToArray : unit -> 'Key[]

Returns

TKey[]

A C# array of TKey elements. Elements that are NSNull in the source array are represented as null.

Applies to