pause at 31minutes

This commit is contained in:
2026-01-11 23:13:26 +01:00
parent 67ef71092a
commit 0a1934f95a
5 changed files with 160 additions and 1 deletions

View File

@@ -0,0 +1,46 @@
# Output
## Console.Write
to output a message in the console you can run the method
using a string literal
```C#
Console.WriteLine("Hello");
```
## Console.Write
The same but doesn't add a line at the end of the sentece
```C#
Console.Write("Hello");
Console.Write("You");
// Output
// HelloYou
```
## Comments
```C#
///This is a comment
/* this is a
* multiline command
*/ comment
```
## Escape Sequence
```C#
// tab
Console.WriteLine("\tHello")
// backspace
Console.WriteLine("Hello\bWorld")
// newLine
Console.WriteLine("Hello\nWorld")
```
## Console.ReadKey();
Prevent our program to end until we type a key