diff --git a/docs/standard/base-types/composite-formatting.md b/docs/standard/base-types/composite-formatting.md index 5e37ee4bba0b8..c7c5bec18efee 100644 --- a/docs/standard/base-types/composite-formatting.md +++ b/docs/standard/base-types/composite-formatting.md @@ -41,7 +41,7 @@ Consider the following code fragment: :::code language="vb" source="./snippets/composite-formatting/net/vb/Program.vb" id="basic"::: -The fixed text is `Name = ` and `, hours = `. The format items are `{0}`, whose index of 0 corresponds to the object `name`, and `{1:hh}`, whose index of 1 corresponds to the object `DateTime.Now`. +The fixed text is `Name = ` and `, hours = `. The format items are `{0}`, whose index of 0 corresponds to the string `"Fred"`, and `{1:hh}`, whose index of 1 corresponds to the object `DateTime.Now`. ## Format item syntax