Skip to content

Commit fb3f6a2

Browse files
authored
Merge pull request #4856 from dotnet/master
Update live with current master
2 parents cb9bc6c + 46b0450 commit fb3f6a2

File tree

13 files changed

+33
-34
lines changed

13 files changed

+33
-34
lines changed

.openpublishing.publish.config.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"branch_target_mapping": {
88
"live": [
99
"Publish",
10-
"Pdf",
11-
"Intellisense"
10+
"Pdf"
1211
],
1312
"serverless-ebook": [
1413
"Publish",

docs/core/tutorials/netcore-hosting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This tutorial and its associated sample build a Windows host; see the notes at t
3131

3232
## Creating the host
3333

34-
A [sample host](https://github.com/dotnet/samples/tree/master/core/hosting) demonstrating the steps outlined in this article is available in the dotnet/docs GitHub repository. Comments in the sample's *host.cpp* file clearly associate the numbered steps from this tutorial with where they're performed in the sample. For download instructions, see [Samples and Tutorials](../../samples-and-tutorials/index.md#viewing-and-downloading-samples).
34+
A [sample host](https://github.com/dotnet/samples/tree/master/core/hosting) demonstrating the steps outlined in this article is available in the dotnet/samples GitHub repository. Comments in the sample's *host.cpp* file clearly associate the numbered steps from this tutorial with where they're performed in the sample. For download instructions, see [Samples and Tutorials](../../samples-and-tutorials/index.md#viewing-and-downloading-samples).
3535

3636
Keep in mind that the sample host is meant to be used for learning purposes, so it is light on error checking and is designed to emphasize readability over efficiency. More real-world host samples are available in the [dotnet/coreclr](https://github.com/dotnet/coreclr/tree/master/src/coreclr/hosts) repository. The [CoreRun host](https://github.com/dotnet/coreclr/tree/master/src/coreclr/hosts/corerun), in particular, is a good general-purpose host to study after reading through the simpler sample.
3737

docs/core/tutorials/using-on-macos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Install the Visual Studio Code C# extension by opening Visual Studio Code and pr
3030

3131
## Getting started
3232

33-
In this tutorial, you create three projects: a library project, tests for that library project, and a console application that makes use of the library. You can [view or download the source](https://github.com/dotnet/samples/tree/master/core/getting-started/golden) for this topic at the dotnet/docs repository on GitHub. For download instructions, see [Samples and Tutorials](../../samples-and-tutorials/index.md#viewing-and-downloading-samples).
33+
In this tutorial, you create three projects: a library project, tests for that library project, and a console application that makes use of the library. You can [view or download the source](https://github.com/dotnet/samples/tree/master/core/getting-started/golden) for this topic at the dotnet/samples repository on GitHub. For download instructions, see [Samples and Tutorials](../../samples-and-tutorials/index.md#viewing-and-downloading-samples).
3434

3535
Start Visual Studio Code. Press <kbd>Ctrl</kbd>+<kbd>\`</kbd> (the backquote or backtick character) or select **View > Integrated Terminal** from the menu to open an embedded terminal in Visual Studio Code. You can still open an external shell with the Explorer **Open in Command Prompt** command (**Open in Terminal** on Mac or Linux) if you prefer to work outside of Visual Studio Code.
3636

docs/core/tutorials/using-with-xplat-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ If you're unfamiliar with the .NET Core CLI toolset, read the [.NET Core SDK ove
2727

2828
## Hello, Console App!
2929

30-
You can [view or download the sample code](https://github.com/dotnet/samples/tree/master/core/console-apps/HelloMsBuild) from the dotnet/docs GitHub repository. For download instructions, see [Samples and Tutorials](../../samples-and-tutorials/index.md#viewing-and-downloading-samples).
30+
You can [view or download the sample code](https://github.com/dotnet/samples/tree/master/core/console-apps/HelloMsBuild) from the dotnet/samples GitHub repository. For download instructions, see [Samples and Tutorials](../../samples-and-tutorials/index.md#viewing-and-downloading-samples).
3131

3232
Open a command prompt and create a folder named *Hello*. Navigate to the folder you created and type the following:
3333

docs/csharp/language-reference/keywords/codesnippet/CSharp/var_1.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Console.WriteLine(s);
1313
}
1414

15-
// Example #2: var is required because
15+
// Example #2: var is required when
1616
// the select clause specifies an anonymous type
1717
var custQuery = from cust in customers
1818
where cust.City == "Phoenix"
@@ -23,4 +23,4 @@
2323
foreach (var item in custQuery)
2424
{
2525
Console.WriteLine("Name={0}, Phone={1}", item.Name, item.Phone);
26-
}
26+
}

docs/csharp/language-reference/keywords/var.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ int i = 10; //explicitly typed
2626
For more information, see [Implicitly Typed Local Variables](../../../csharp/programming-guide/classes-and-structs/implicitly-typed-local-variables.md) and [Type Relationships in LINQ Query Operations](../../../csharp/programming-guide/concepts/linq/type-relationships-in-linq-query-operations.md).
2727

2828
## Example
29-
The following example shows two query expressions. In the first expression, the use of `var` is permitted but is not required, because the type of the query result can be stated explicitly as an `IEnumerable<string>`. However, in the second expression, `var` must be used because the result is a collection of anonymous types, and the name of that type is not accessible except to the compiler itself. Note that in Example #2, the `foreach` iteration variable `item` must also be implicitly typed.
29+
The following example shows two query expressions. In the first expression, the use of `var` is permitted but is not required, because the type of the query result can be stated explicitly as an `IEnumerable<string>`. However, in the second expression, `var` allows the result to be a collection of anonymous types, and the name of that type is not accessible except to the compiler itself. Use of `var` eliminates the requirement to create a new class for the result. Note that in Example #2, the `foreach` iteration variable `item` must also be implicitly typed.
3030

3131
[!code-csharp[csrefKeywordsTypes#18](../../../csharp/language-reference/keywords/codesnippet/CSharp/var_1.cs)]
3232

docs/csharp/language-reference/operators/toc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
## [[] Operator](index-operator.md)
33
## [() Operator](invocation-operator.md)
44
## [. Operator](member-access-operator.md)
5+
## [?. and ?[] Operators](null-conditional-operators.md)
56
## [:: Operator](namespace-alias-qualifer.md)
67
## [+ Operator](addition-operator.md)
78
## [- Operator](subtraction-operator.md)
@@ -40,4 +41,3 @@
4041
## [-> Operator](dereference-operator.md)
4142
## [?? Operator](null-conditional-operator.md)
4243
## [=> Operator](lambda-operator.md)
43-
## [Null-conditional Operators](null-conditional-operators.md)

docs/csharp/programming-guide/main-and-command-args/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The addition of `async` and `Task`, `Task<int>` return types simplifies program
4343
[!INCLUDE[CSharplangspec](~/includes/csharplangspec-md.md)]
4444

4545
## See also
46-
[Command-line Building With csc.exe](../../../csharp/language-reference/compiler-options/command-line-building-with-csc-exe.md)
47-
[C# Programming Guide](../../../csharp/programming-guide/index.md)
48-
[Methods](../../../csharp/programming-guide/classes-and-structs/methods.md)
49-
[Inside a C# Program](../../../csharp/programming-guide/inside-a-program/index.md)
46+
[Command-line Building With csc.exe](../../../csharp/language-reference/compiler-options/command-line-building-with-csc-exe.md)
47+
[C# Programming Guide](../../../csharp/programming-guide/index.md)
48+
[Methods](../../../csharp/programming-guide/classes-and-structs/methods.md)
49+
[Inside a C# Program](../../../csharp/programming-guide/inside-a-program/index.md)

docs/csharp/tutorials/working-with-linq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Magicians use this technique because every card is in a known location after eac
2828

2929
For our purposes, it is a light hearted look at manipulating sequences of data. The application you'll build will construct a card deck, and then perform a sequence of shuffles, writing the sequence out each time. You'll also compare the updated order to the original order.
3030

31-
This tutorial has multiple steps. After each step, you can run the application and see the progress. You can also see the [completed sample](https://github.com/dotnet/samples/blob/master/csharp/getting-started/console-linq) in the dotnet/docs GitHub repository. For download instructions, see [Samples and Tutorials](../../samples-and-tutorials/index.md#viewing-and-downloading-samples).
31+
This tutorial has multiple steps. After each step, you can run the application and see the progress. You can also see the [completed sample](https://github.com/dotnet/samples/blob/master/csharp/getting-started/console-linq) in the dotnet/samples GitHub repository. For download instructions, see [Samples and Tutorials](../../samples-and-tutorials/index.md#viewing-and-downloading-samples).
3232

3333
## Prerequisites
3434

docs/framework/docker/console.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The sample console application is a simple example which takes an argument, a qu
2222

2323
In addition to the answer, the `Environment.MachineName` has been added to the response to show the difference between running the application locally and in a Windows container. When running the application locally, your local machine name should be returned and when running in a Windows Container; the container session id is returned.
2424

25-
The [complete example](https://github.com/dotnet/samples/tree/master/framework/docker/ConsoleRandomAnswerGenerator) is available in the dotnet/docs repository on GitHub. For download instructions, see [Samples and Tutorials](../../samples-and-tutorials/index.md#viewing-and-downloading-samples).
25+
The [complete example](https://github.com/dotnet/samples/tree/master/framework/docker/ConsoleRandomAnswerGenerator) is available in the dotnet/samples repository on GitHub. For download instructions, see [Samples and Tutorials](../../samples-and-tutorials/index.md#viewing-and-downloading-samples).
2626

2727
You need to be familiar with some Docker terms before you begin working
2828
on moving your application to a container.

0 commit comments

Comments
 (0)