Skip to content

Commit

Permalink
Update ns-System.Collections.Immutable.xml (#9398)
Browse files Browse the repository at this point in the history
  • Loading branch information
gewarren authored Oct 23, 2023
1 parent 05d4f99 commit fd6e91b
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions xml/ns-System.Collections.Immutable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,11 @@
With immutable collections, you can:
- Share a collection in a way that its consumer can be assured that the collection never changes.
- Provide implicit thread safety in multi-threaded applications (no locks required to access collections).
- Follow functional programming practices.
- Modify a collection during enumeration, while ensuring that the original collection does not change.
The immutable collection classes are available with .NET Core and .NET 5+, however they're not part of the core class library distributed with .NET Framework. They're available starting with .NET Framework 4.5 via NuGet.
To install the immutable collections via NuGet:
1. Open your project in Visual Studio and choose **Manage NuGet Packages** from the **Project** menu.
2. Optionally, select the **Include prerelease** checkbox.
This option gives you access to new prerelease versions of the immutable classes, as they become available.
3. Use the **Search** box to locate the **System.Collections.Immutable** package.
4. In the left pane, select the **System.Collections.Immutable** package. In the right pane, select the desired version and then choose Install.
The installation steps described above are for Visual Studio 2015. For other versions of Visual Studio, the steps might be slightly different because of differences in the user interface (UI).
The immutable collection classes are available as part of the core .NET libraries, however they're not part of the core class library distributed with .NET Framework. For .NET Framework 4.6.2 and later apps, the classes are available through NuGet packages.
]]></format>
</remarks>
Expand Down

0 comments on commit fd6e91b

Please sign in to comment.