Skip to content

Commit a60f4ad

Browse files
committed
fix: 2d arrays in PR, position properties in WEB
1 parent e87e989 commit a60f4ad

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

slides/content/slides/SWP/PR/09_multi-dimensional-arrays.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ hideInToc: true
4646
# Beispiel: 2D-Array
4747

4848
```csharp
49-
// 2D-Array mit 2 Zeilen und 3 Spalten
50-
double[,] matrix = new double[2, 3];
49+
// 2D-Array mit 3 Zeilen und 4 Spalten
50+
double[,] matrix = new double[3, 4];
5151

5252
matrix[0, 1] = 1.5;
5353

54-
int zeilen = matrix.GetLength(0); // 2
55-
int spalten = matrix.GetLength(1); // 3
54+
int zeilen = matrix.GetLength(0); // 3
55+
int spalten = matrix.GetLength(1); // 4
5656
```
5757

5858
![2D Array Beispiel](./assets/2D-array-example.drawio.png)
4.42 KB
Loading

slides/content/slides/SWP/WEB/05_positioning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Diese Werte funktionieren nur, wenn `position` ≠ `static` ist:
9898

9999
```css
100100

101-
.relative-box { position: relative; top: 6px; right: 6px; }
101+
.relative-box { position: relative; top: 6px; left: 6px; }
102102
```
103103

104104
**Demo**

0 commit comments

Comments
 (0)