Skip to content

Commit 1c74b4a

Browse files
committed
address remaining comments.
1 parent ca3b5c6 commit 1c74b4a

File tree

7 files changed

+7
-26
lines changed

7 files changed

+7
-26
lines changed

docs/csharp/tour-of-csharp/tutorials/branches-and-loops.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,11 @@ In this tutorial, you:
1717
> * Work with nested loops.
1818
> * Combine branches and loops.
1919
20-
To use codespaces, you need a GitHub account. If you don't already have one, you can create a free account at [GitHub.com](https://github.com).
21-
2220
## Prerequisites
2321

2422
You must have one of the following options:
2523

26-
- A GitHub account to use [GitHub Codespaces](https://github.com/codespaces).
24+
- A GitHub account to use [GitHub Codespaces](https://github.com/codespaces). If you don't already have one, you can create a free account at [GitHub.com](https://github.com).
2725
- A computer with the following tools installed:
2826
- The [.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0).
2927
- [Visual Studio Code](https://code.visualstudio.com/download).

docs/csharp/tour-of-csharp/tutorials/hello-world.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,11 @@ In this tutorial, you:
1717
> * Create and use variables to store text data.
1818
> * Use .NET APIs with text data.
1919
20-
To use Codespaces, you need a GitHub account. If you don't already have one, you can create a free account at [GitHub.com](https://github.com).
21-
2220
## Prerequisites
2321

2422
You must have one of the following options:
2523

26-
- A GitHub account to use [GitHub Codespaces](https://github.com/codespaces).
24+
- A GitHub account to use [GitHub Codespaces](https://github.com/codespaces). If you don't already have one, you can create a free account at [GitHub.com](https://github.com).
2725
- A computer with the following tools installed:
2826
- The [.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0).
2927
- [Visual Studio Code](https://code.visualstudio.com/download).

docs/csharp/tour-of-csharp/tutorials/index.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,3 @@ The [List collection](list-collection.md) lesson gives you a tour of the List co
3737
## Pattern matching
3838

3939
The [Pattern matching](pattern-matching.md) lesson provides an introduction to *pattern matching*. Pattern matching enables you to compare an expression against a pattern. The success of the match determines which program logic to follow. Patterns can compare types, properties of a type, or contents of a list. You can combine multiple patterns by using `and`, `or`, and `not` logic. Patterns provide a rich vocabulary to inspect data and make decisions in your program based on that inspection.
40-
41-
## Set up your local environment
42-
43-
If you prefer not to complete the tutorials using GitHub Codespaces, you can can up your local environment. You need:```
44-
45-
[!INCLUDE [Prerequisites](../../../../includes/prerequisites-basic-winget.md)]

docs/csharp/tour-of-csharp/tutorials/list-collection.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@ In this tutorial, you:
1818
> * Modify list contents.
1919
> * Search and sort lists.
2020
21-
To use codespaces, you need a GitHub account. If you don't already have one, you can create a free account at [GitHub.com](https://github.com).
22-
2321
## Prerequisites
2422

2523
You must have one of the following:
2624

27-
- A GitHub account to use [GitHub Codespaces](https://github.com/codespaces).
25+
- A GitHub account to use [GitHub Codespaces](https://github.com/codespaces). If you don't already have one, you can create a free account at [GitHub.com](https://github.com).
2826
- A computer with the following tools installed:
2927
- The [.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0).
3028
- [Visual Studio Code](https://code.visualstudio.com/download).

docs/csharp/tour-of-csharp/tutorials/numbers-in-csharp.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@ In this tutorial, you:
1818
> * Learn floating point types.
1919
> * Learn the decimal type.
2020
21-
To use Codespaces, you need a GitHub account. If you don't already have one, you can create a free account at [GitHub.com](https://github.com).
22-
2321
## Prerequisites
2422

2523
You must have one of the following:
2624

27-
- A GitHub account to use [GitHub Codespaces](https://github.com/codespaces).
25+
- A GitHub account to use [GitHub Codespaces](https://github.com/codespaces). If you don't already have one, you can create a free account at [GitHub.com](https://github.com).
2826
- A computer with the following tools installed:
2927
- The [.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0).
3028
- [Visual Studio Code](https://code.visualstudio.com/download).

docs/csharp/tour-of-csharp/tutorials/pattern-matching.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,20 @@ In this tutorial, you:
1717
> * Create exhaustive matches using `switch` expressions.
1818
> * Match types using type patterns.
1919
20-
To use codespaces, you need a GitHub account. If you don't already have one, you can create a free account at [GitHub.com](https://github.com).
21-
2220
## Prerequisites
2321

2422
You must have one of the following:
2523

26-
- A GitHub account to use [GitHub Codespaces](https://github.com/codespaces).
24+
- A GitHub account to use [GitHub Codespaces](https://github.com/codespaces). If you don't already have one, you can create a free account at [GitHub.com](https://github.com).
2725
- A computer with the following tools installed:
2826
- The [.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0).
2927
- [Visual Studio Code](https://code.visualstudio.com/download).
3028
- The [C# DevKit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit).
3129

30+
## Match a value
3231

3332
The preceding tutorials demonstrated built-in types and types you define as tuples or records. You can check instances of these types against a *pattern*. Whether an instance matches a pattern determines the actions your program takes. In the examples below, you see `?` after type names. This symbol allows the value of this type to be null (for example, `bool?` can be `true`, `false`, or `null`). For more information, see [Nullable value types](../../language-reference/builtin-types/nullable-value-types.md). Let's start to explore how you can use patterns.
3433

35-
## Match a value
36-
3734
Open a browser window to [GitHub codespaces](https://github.com/codespaces). Create a new codespace from the *.NET Template*. If you completed other tutorials in this series, you can open that codespace.
3835

3936
1. When your codespace loads, create a new file in the *tutorials* folder named *patterns.cs*.

docs/csharp/tour-of-csharp/tutorials/tuples-and-types.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,11 @@ In this tutorial, you:
1717
> * Create record types.
1818
> * Learn about struct, class, and interface types.
1919
20-
To use codespaces, you need a GitHub account. If you don't already have one, you can create a free account at [GitHub.com](https://github.com).
21-
2220
## Prerequisites
2321

2422
You must have one of the following:
2523

26-
- A GitHub account to use [GitHub Codespaces](https://github.com/codespaces).
24+
- A GitHub account to use [GitHub Codespaces](https://github.com/codespaces). If you don't already have one, you can create a free account at [GitHub.com](https://github.com).
2725
- A computer with the following tools installed:
2826
- The [.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0).
2927
- [Visual Studio Code](https://code.visualstudio.com/download).

0 commit comments

Comments
 (0)