ToList

ToList

Converts the value of the property to a list of values.

Returns: IList implementation, if type can’t be converted to IList returns empty list implementation.

ToList()