Skip to content

Commit 2443bac

Browse files
authored
changed files by pdets auto publish service, publishid[9a1cda0e-9c1c-4ef6-b9c1-3b30b2bfd9a9] and do [publish].
1 parent c9c095f commit 2443bac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

learn-pr/wwl-language/csharp-modify-content/includes/2-exercise-indexof-substring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Hardcoded strings like `"<span>"` in the previous code listing are known as "mag
176176
177177
1. Review the previous code to consider how the code might break if you hardcoded the string `"<span>"` multiple times in your code, but misspelled one instance of it as `"<sapn>"`.
178178
179-
The compiler won't catch '"<sapn>"' at compile time because the value is in a string. The misspelling will likely cause problems at run time, and depending on the complexity of your code, it might be difficult to track down.
179+
The compiler won't catch `"<sapn>"` at compile time because the value is in a string. The misspelling will likely cause problems at run time, and depending on the complexity of your code, it might be difficult to track down.
180180
181181
Furthermore, if you change the string `"<span>"` to `"<div>"`, but forget to change the number `6`, then your code will produce undesirable results.
182182

0 commit comments

Comments
 (0)