Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: IEnumerable<TResult?> SelectNullable<TResult>(this IEnumerable<TResult>)

Declaration

public static IEnumerable<TResult?> SelectNullable<TResult>(
    this IEnumerable<TResult> source
)

Summary

Returns the original collection but with every value cast to their nullable equivalent.

Generic type parameters

TResult
  • Must derive from: System.ValueType.
  • Must have a default constructor.
  • Must be a non-nullable value type.
This type parameter is not documented.