From 85b1f1ca05a250bd60c2cc566a8bf396d7761bd4 Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Sat, 10 Nov 2018 18:38:19 -0600 Subject: [PATCH] Touch-ups to preprocessor symbols content (#9551) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Addresses #9470 Addresses #9544 We trust the build system for so much. 🤔 ... Shouldn't I *really* just nix the backslashes? --- aspnetcore/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/index.md b/aspnetcore/index.md index e5468f273e..85d4fc0736 100644 --- a/aspnetcore/index.md +++ b/aspnetcore/index.md @@ -71,7 +71,7 @@ Many of the articles and tutorials include links to sample code. 1. Unzip the *Docs-master.zip* file. 1. Use the URL in the sample link to help you navigate to the sample directory. -To demonstrate multiple scenarios, sample apps make use of the [#define] and [#if-#else/#elif-#end-if](/dotnet/csharp/language-reference/preprocessor-directives/preprocessor-if) C# statements to selectively compile and run different sections of sample code. For those samples that make use of this approach, set the `#define` statement at the top of the C# files to the symbol associated with the scenario that you want to run. A sample may require you to set the symbol at the top of multiple files in order to run a scenario. +To demonstrate multiple scenarios, sample apps make use of the `#define` and `#if-#else/#elif-#endif` C\# statements to selectively compile and run different sections of sample code. For those samples that make use of this approach, set the `#define` statement at the top of the C\# files to the symbol associated with the scenario that you want to run. A sample may require you to set the symbol at the top of multiple files in order to run a scenario. For example, the following `#define` symbol list indicates that four scenarios are available (one scenario per symbol). The current sample configuration runs the `TemplateCode` scenario: @@ -85,7 +85,7 @@ To change the sample to run the `ExpandDefault` scenario, define the `ExpandDefa #define ExpandDefault // TemplateCode or LogFromMain or FilterInCode ``` -For more information on using [C# preprocessor directives](/dotnet/csharp/language-reference/preprocessor-directives/) to selectively compile sections of code, see [#define (C# Reference)](/dotnet/csharp/language-reference/preprocessor-directives/preprocessor-define) and [#if (C# Reference)](/dotnet/csharp/language-reference/preprocessor-directives/preprocessor-if). +For more information on using [C\# preprocessor directives](/dotnet/csharp/language-reference/preprocessor-directives/) to selectively compile sections of code, see [\#define (C\# Reference)](/dotnet/csharp/language-reference/preprocessor-directives/preprocessor-define) and [\#if (C\# Reference)](/dotnet/csharp/language-reference/preprocessor-directives/preprocessor-if). ## Next steps