StarThrower.Collections
2.0.0
dotnet add package StarThrower.Collections --version 2.0.0
NuGet\Install-Package StarThrower.Collections -Version 2.0.0
<PackageReference Include="StarThrower.Collections" Version="2.0.0" />
<PackageVersion Include="StarThrower.Collections" Version="2.0.0" />
<PackageReference Include="StarThrower.Collections" />
paket add StarThrower.Collections --version 2.0.0
#r "nuget: StarThrower.Collections, 2.0.0"
#:package StarThrower.Collections@2.0.0
#addin nuget:?package=StarThrower.Collections&version=2.0.0
#tool nuget:?package=StarThrower.Collections&version=2.0.0
StarThrower.Collections
General-purpose collection types for .NET.
StarThrower.Collections currently provides a single, obsolete compatibility type: ReadOnlyDictionary<TKey, TValue>, retained for consumers migrating from older versions of this library.
Installation
dotnet add package StarThrower.Collections
ReadOnlyDictionary<TKey, TValue>
Obsolete. Use
System.Collections.ObjectModel.ReadOnlyDictionary<TKey, TValue>directly instead.
This type predates the BCL's own ReadOnlyDictionary<TKey, TValue> (introduced in .NET 4.5). It is now a thin subclass of the BCL type, provided only so existing code referencing StarThrower.Collections.ReadOnlyDictionary<TKey, TValue> continues to compile and behave identically.
// Old code using this package's type still works, but is flagged obsolete:
var dict = new StarThrower.Collections.ReadOnlyDictionary<string, int>(source);
// New code should use the BCL type directly:
var dict = new System.Collections.ObjectModel.ReadOnlyDictionary<string, int>(source);
License
Copyright © 2026 Stephen Elmer. Licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0 | 102 | 7/4/2026 |