diff --git a/docs/csharp/tour-of-csharp/snippets/shared/CollectionExpressions.cs b/docs/csharp/tour-of-csharp/snippets/shared/CollectionExpressions.cs index a1f25bdf13b3f..9ac1f208fd5d0 100644 --- a/docs/csharp/tour-of-csharp/snippets/shared/CollectionExpressions.cs +++ b/docs/csharp/tour-of-csharp/snippets/shared/CollectionExpressions.cs @@ -15,7 +15,7 @@ public static void Examples() // string second = names[1]; // 0-based index string last = names[^1]; // ^1 is the last element - int[] smallNumbers = numbers[0..5]; // 0 to 4 + int[] smallNumbers = numbers[0..5]; // elements at indexes 0 to 4 // } }