pause at 3:00

This commit is contained in:
2026-01-13 03:16:55 +01:00
parent 12e73411bf
commit 42fa021a2a
5 changed files with 466 additions and 0 deletions

View File

@@ -47,3 +47,16 @@ String fullName = "mrsh online";
String firstName = fullName.Substring(0,4);
String lastName = fullName.Substring(5,6);
```
## String interpolation
```C#
String firstName = "mrsh";
String lastName = "Online";
int age = 21;
Console.WriteLine($"Hello {firstName} {lastName}.");
// include 10 spaces
Console.WriteLine($"You are {age, 10} years old.");
```