IList<T>.AsReadOnlyList Method
Returns the list as read-only list.
public function AsReadOnlyList: IReadOnlyList<T>;
This method will not perform a copy but will return the same instance as IReadOnlyList<T>.
Returns the list as read-only list.
public function AsReadOnlyList: IReadOnlyList<T>;
This method will not perform a copy but will return the same instance as IReadOnlyList<T>.