From 8ded884b6cd907e1f0f59dc209ef95fe1a5fd5e3 Mon Sep 17 00:00:00 2001 From: mzohrab Date: Thu, 24 Aug 2017 18:04:34 +0400 Subject: [PATCH] Please change "!code-css" to "!code-csharp" (#4091) File syntax is "C#" but named as "CSS" --- .../overview/getting-started/introducing-razor-syntax-c.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnet/web-pages/overview/getting-started/introducing-razor-syntax-c.md b/aspnet/web-pages/overview/getting-started/introducing-razor-syntax-c.md index 9ddb80b7b1..d3e0cec850 100644 --- a/aspnet/web-pages/overview/getting-started/introducing-razor-syntax-c.md +++ b/aspnet/web-pages/overview/getting-started/introducing-razor-syntax-c.md @@ -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: