[Extension()] public static IReadOnlyCollection<T> ToReadOnlyWrappedCollection<T>( ICollection<T> collection )
Parameters
- collection
- A collection object.
Type Parameters
- T
- The type parameter of the items in the collection.
[Extension()] public static IReadOnlyCollection<T> ToReadOnlyWrappedCollection<T>( ICollection<T> collection )
Target Platforms: Windows 11, 10, 8, 7and Linux, MacOS with net10.0, net9.0 or net8.0 installed