Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Operator: implicit operator ValuesCollection<TValue>(List<TValue>)

Declaration

public static implicit operator ValuesCollection<TValue>(
    List<TValue> values
)

Summary

Creates a read-only ValuesCollection<TValue> wrapping the specified list instance.

Remarks

This operator does NOT create a copy of the list. The list may still be modified if a reference to the list is accessed elsewhere. Consider only passing in lists which you created and are not passed or used anywhere else.