ArrayExtensions.NonNull<T>
Extension Method in ArrayExtensions
Declaration
public static T[] NonNull<T>(this T[] array)
where T : classDescription
Filters out all null elements from the array.
Type Parameters
| T | The type of the array. |
Parameters
| array | The array to filter. |
Returns
| T[] | A new array with all null elements removed. |