You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.NET 8 introduces several new types aimed at improving app performance.
502
502
503
-
- The new <xref:System.Collections.Frozen?displayProperty=fullName> namespace includes the collection types <xref:System.Collections.Frozen.FrozenDictionary%602> and <xref:System.Collections.Frozen.FrozenSet%601>. These types don't allow any changes to keys and values once a collection created. That requirement allows faster read operations (for example, `TryGetValue()`). These types are particularly useful for collections that are populated on first use and then persisted for the duration of a long-lived service, for example:
503
+
- The new <xref:System.Collections.Frozen?displayProperty=fullName> namespace includes the collection types <xref:System.Collections.Frozen.FrozenDictionary%602> and <xref:System.Collections.Frozen.FrozenSet%601>. These types don't allow any changes to keys and values once a collection is created. That requirement allows faster read operations (for example, `TryGetValue()`). These types are particularly useful for collections that are populated on first use and then persisted for the duration of a long-lived service, for example:
Copy file name to clipboardExpand all lines: docs/core/whats-new/dotnet-9/libraries.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
title: What's new in .NET libraries for .NET 9
3
3
description: Learn about the new .NET libraries features introduced in .NET 9.
4
4
titleSuffix: ""
5
-
ms.date: 09/09/2024
5
+
ms.date: 10/08/2024
6
6
ms.topic: whats-new
7
7
---
8
8
9
9
# What's new in .NET libraries for .NET 9
10
10
11
-
This article describes new features in the .NET libraries for .NET 9. It's been updated for .NET 9 RC 1.
11
+
This article describes new features in the .NET libraries for .NET 9. It's been updated for .NET 9 RC 2.
12
12
13
13
## Base64Url
14
14
@@ -44,7 +44,7 @@ The following example demonstrates using [Dictionary<TKey,TValue>.GetAlternateLo
44
44
45
45
### `OrderedDictionary<TKey, TValue>`
46
46
47
-
In many scenarios, you might want to store key-value pairs in a way where order can be maintained (a list of key-value pairs) but where fast lookup by key is also supported (a dictionary of key-value pairs). Since the early days of .NET, the <xref:System.Collections.Specialized.OrderedDictionary> type has supported this scenario, but only in a non-generic manner, with keys and values typed as <xref:System.Collections.Generic.OrderedDictionary%602> collection, which provides an efficient, generic type to support these scenarios.
47
+
In many scenarios, you might want to store key-value pairs in a way where order can be maintained (a list of key-value pairs) but where fast lookup by key is also supported (a dictionary of key-value pairs). Since the early days of .NET, the <xref:System.Collections.Specialized.OrderedDictionary> type has supported this scenario, but only in a non-generic manner, with keys and values typed as `object`. .NET 9 introduces the long-requested <xref:System.Collections.Generic.OrderedDictionary%602> collection, which provides an efficient, generic type to support these scenarios.
Copy file name to clipboardExpand all lines: docs/core/whats-new/dotnet-9/overview.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: What's new in .NET 9
3
3
description: Learn about the new .NET features introduced in .NET 9 for the runtime, libraries, and SDK. Also find links to what's new in other areas, such as ASP.NET Core.
Copy file name to clipboardExpand all lines: docs/core/whats-new/dotnet-9/sdk.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
title: What's new in the SDK for .NET 9
3
3
description: Learn about the new .NET SDK features introduced in .NET 9, including for unit testing, terminal logger, tool roll-forward, and build script analyzers.
4
4
titleSuffix: ""
5
-
ms.date: 09/09/2024
5
+
ms.date: 10/08/2024
6
6
ms.topic: whats-new
7
7
---
8
8
9
9
# What's new in the SDK for .NET 9
10
10
11
-
This article describes new features in the .NET SDK for .NET 9. It's been updated for .NET RC 1.
11
+
This article describes new features in the .NET SDK for .NET 9. It's been updated for .NET RC 2.
0 commit comments