Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/standard/base-types/composite-formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Consider the following <xref:System.String.Format%2A> code fragment:
:::code language="vb" source="./snippets/composite-formatting/net/vb/Program.vb" id="basic":::

<!-- markdownlint-disable-next-line no-space-in-code -->
The fixed text is `Name = `&nbsp;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 = `&nbsp;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

Expand Down
Loading