Skip to content

Commit 8904b82

Browse files
fix: adding paste shortcut tip to the start of each tutorial (dotnet#31751)
* fix: adding `paste` shortcut tip to the start of each tutorial * chore: using `alert syntax` and `<kbd>` Co-authored-by: David Pine <[email protected]> * chore: using `alert syntax` and `<kbd>` Co-authored-by: David Pine <[email protected]> * chore: using `alert syntax` and `<kbd>` Co-authored-by: David Pine <[email protected]> * chore: using `alert syntax` and `<kbd>` Co-authored-by: David Pine <[email protected]> * chore: using `alert syntax` and `<kbd>` Co-authored-by: David Pine <[email protected]> * chore: using `alert syntax` and `<kbd>` Co-authored-by: David Pine <[email protected]> * Update docs/csharp/tour-of-csharp/tutorials/list-collection.yml Co-authored-by: David Pine <[email protected]>
1 parent 018415f commit 8904b82

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ ms.date: 03/23/2022
88

99
This tutorial teaches you how to write C# code that examines variables and changes the execution path based on those variables. You write C# code and see the results of compiling and running it. The tutorial contains a series of lessons that explore branching and looping constructs in C#. These lessons teach you the fundamentals of the C# language.
1010

11+
> [!TIP]
12+
> To paste a code snippet inside the **focus mode** you should use your keyboard shortcut (<kbd>Ctrl</kbd> + <kbd>v</kbd>, or <kbd>cmd</kbd> + <kbd>v</kbd>).
13+
1114
## Prerequisites
1215

1316
The tutorial expects that you have a machine set up for local development. See [Set up your local environment](local-environment.md) for installation instructions and an overview of application development in .NET.

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ items:
1616
- durationInMinutes: 1
1717
content: |
1818
This tutorial teaches you how to write code that examines variables and changes execution path based on those variables. You'll use your browser to write C# interactively and see the results of compiling and running your code. This tutorial contains a series of lessons that explore branching and looping constructs in C#. These lessons teach you the fundamentals of the C# language.
19+
20+
> [!TIP]
21+
> To paste a code snippet inside the **focus mode** you should use your keyboard shortcut (<kbd>Ctrl</kbd> + <kbd>v</kbd>, or <kbd>cmd</kbd> + <kbd>v</kbd>).
1922
- title: Make decisions using the if statement
2023
durationInMinutes: 4
2124
content: |

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ items:
1616
- durationInMinutes: 1
1717
content: |
1818
This tutorial teaches you C# interactively, using your browser to write C# and see the results of compiling and running your code. It contains a series of lessons that begin with a "Hello World" program. These lessons teach you the fundamentals of the C# language.
19+
20+
> [!TIP]
21+
> To paste a code snippet inside the **focus mode** you should use your keyboard shortcut (<kbd>Ctrl</kbd> + <kbd>v</kbd>, or <kbd>cmd</kbd> + <kbd>v</kbd>).
1922
- title: Run your first C# program
2023
durationInMinutes: 2
2124
content: |

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ items:
1414
- durationInMinutes: 1
1515
content: |
1616
This tutorial teaches you C# interactively, using your browser to write C# code and see the results of compiling and running your code. It contains a series of lessons that create, modify, and explore collections and arrays.
17+
18+
> [!TIP]
19+
> To paste a code snippet inside the **focus mode** you should use your keyboard shortcut (<kbd>Ctrl</kbd> + <kbd>v</kbd>, or <kbd>cmd</kbd> + <kbd>v</kbd>).
1720
- title: Create lists
1821
durationInMinutes: 2
1922
content: |

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ ms.date: 03/23/2022
88

99
This tutorial teaches you about the numeric types in C#. You'll write small amounts of code, then you'll compile and run that code. The tutorial contains a series of lessons that explore numbers and math operations in C#. These lessons teach you the fundamentals of the C# language.
1010

11+
> [!TIP]
12+
> To paste a code snippet inside the **focus mode** you should use your keyboard shortcut (<kbd>Ctrl</kbd> + <kbd>v</kbd>, or <kbd>cmd</kbd> + <kbd>v</kbd>).
13+
1114
## Prerequisites
1215

1316
The tutorial expects that you have a machine set up for local development. See [Set up your local environment](local-environment.md) for installation instructions and an overview of application development in .NET.

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ items:
1616
- durationInMinutes: 1
1717
content: |
1818
This tutorial teaches you about the numeric types in C# interactively, using your browser. You'll write C# and see the results of compiling and running your code. It contains a series of lessons that explore numbers and math operations in C#. These lessons teach you the fundamentals of the C# language.
19+
20+
> [!TIP]
21+
> To paste a code snippet inside the **focus mode** you should use your keyboard shortcut (<kbd>Ctrl</kbd> + <kbd>v</kbd>, or <kbd>cmd</kbd> + <kbd>v</kbd>).
1922
- title: Explore integer math
2023
durationInMinutes: 4
2124
content: |

0 commit comments

Comments
 (0)