Please change "!code-css" to "!code-csharp" (#4091)

File syntax is "C#" but named as "CSS"
pull/4094/head
mzohrab 2017-08-24 18:04:34 +04:00 committed by Rick Anderson
parent e6a8f171f2
commit 8ded884b6c
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ To create a dictionary, you use the `new` keyword to indicate that you're creati
To add items to the dictionary, you can call the `Add` method of the dictionary variable (`myScores` in this case), and then specify a key and a value. Alternatively, you can use square brackets to indicate the key and do a simple assignment, as in the following example:
[!code-css[Main](introducing-razor-syntax-c/samples/sample62.css)]
[!code-csharp[Main](introducing-razor-syntax-c/samples/sample62.css)]
To get a value from the dictionary, you specify the key in brackets: