Skip to content

Commit c179223

Browse files
BillWagnergewarren
andcommitted
Update docs/csharp/whats-new/csharp-14.md
Co-authored-by: Genevieve Warren <[email protected]>
1 parent 65c3a88 commit c179223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/csharp/whats-new/csharp-14.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ You can find the list of implicit span conversions in the article on [built-in t
4242

4343
## Unbound generic types and nameof
4444

45-
Beginning with C# 14, the argument to `nameof` can be an unbound generic type. For example, `nameof(List<>)` evaluates to `List`. In earlier versions of C#, only closed generic types, such as `List<int>` had to be used to produce `List`.
45+
Beginning with C# 14, the argument to `nameof` can be an unbound generic type. For example, `nameof(List<>)` evaluates to `List`. In earlier versions of C#, only closed generic types, such as `List<int>`, could be used to produce `List`.
4646

4747
<!-- Add link to What's new in .NET 10 once it's published -->

0 commit comments

Comments
 (0)