Skip to content

Commit bbc68e5

Browse files
ClémentClément
authored andcommitted
Fixing the inclusion of source code.
1 parent a89f525 commit bbc68e5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

source/code/projects/SDictionary_solution/SDictionary/Program.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ static void Main(string[] args)
2626
demo.Add(error, null);
2727
demo.Delete("Alice");
2828
Console.WriteLine($"{error} is in dictionary: {demo.Delete(error)}.");
29-
// Done: the program will believe that "Alex" is not
29+
// Done: the program will believe that the
30+
// string error ("Alex") is not
3031
// in the demo array, while it is.
3132
Console.WriteLine(demo);
3233

source/solutions/data/dictionary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,6 @@ SDictionary_solution
121121
The solution is to be in a position where the `error` value is "hidden after" a `null` value:
122122
123123
```{download="./code/projects/SDictionary_solution.zip"}
124-
!include`snippetStart="// Exhibiting Delete incorrect behavior:", snippetEnd="// Done: the program will believe that "Alex" is not"` code/projects/SDictionary_solution/SDictionary/SDictionary.cs
124+
!include`snippetStart="// Exhibiting Delete incorrect behavior:", snippetEnd="// Done: the program will believe that the "` code/projects/SDictionary_solution/SDictionary/SDictionary.cs
125125
```
126126
</details>

0 commit comments

Comments
 (0)