Skip to content

Conversation

@MSDN-WhiteKnight
Copy link
Contributor

Issue: #59630

@ghost ghost added area-System.Collections community-contribution Indicates that the PR has been added by a community member labels Jun 24, 2022
@ghost
Copy link

ghost commented Jun 24, 2022

Tagging subscribers to this area: @dotnet/area-system-collections
See info in area-owners.md if you want to be subscribed.

Issue Details

Issue: #59630

Author: MSDN-WhiteKnight
Assignees: -
Labels:

area-System.Collections

Milestone: -

Copy link
Member

@eiriktsarpalis eiriktsarpalis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@eiriktsarpalis eiriktsarpalis merged commit 21a69aa into dotnet:main Jul 7, 2022
@MSDN-WhiteKnight MSDN-WhiteKnight deleted the patch-1 branch July 7, 2022 16:19
@ghost ghost locked as resolved and limited conversation to collaborators Aug 6, 2022

This package provides collections that are thread safe and guaranteed to never change their contents, also known as immutable collections. Like strings, any methods that perform modifications will not change the existing instance but instead return a new instance. For efficiency reasons, the implementation uses a sharing mechanism to ensure that newly created instances share as much data as possible with the previous instance while ensuring that operations have a predictable time complexity.

The `System.Collections.Immutable` library is built-in as part of the shared framework in .NET Runtime. The package can be installed when you need to use it in other target frameworks.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit as I just saw this PR. Customers can and are welcome to use the package on .NETCoreApp as well, i.e. on net7.0. It's already provided inbox but nothing stops you from referencing it, i.e. when you want to reference its patched version from a non patched runtime / SDK.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Collections community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants