Skip to content

Commit 20759c2

Browse files
authored
Fix typo in arrays.md (#42865)
1 parent 6f1ff0c commit 20759c2

File tree

1 file changed

+1
-1
lines changed
  • docs/csharp/language-reference/builtin-types

1 file changed

+1
-1
lines changed

docs/csharp/language-reference/builtin-types/arrays.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The following example creates single-dimensional, multidimensional, and jagged a
4242
:::code language="csharp" source="./snippets/shared/Arrays.cs" id="DeclareArrays":::
4343

4444
> [!IMPORTANT]
45-
> Many of the examples in this article use [collection expressions](../operators/collection-expressions.md) (which use square brackets) to initialize the arrays. Collection expressions were first introduced in C# 12, which shipped with .NET 8. If you can't ugrade to C# 12 yet, use `{` and `}` to initialize the arrays instead.
45+
> Many of the examples in this article use [collection expressions](../operators/collection-expressions.md) (which use square brackets) to initialize the arrays. Collection expressions were first introduced in C# 12, which shipped with .NET 8. If you can't upgrade to C# 12 yet, use `{` and `}` to initialize the arrays instead.
4646
>
4747
> ```csharp
4848
> // Collection expressions:

0 commit comments

Comments
 (0)