Bugfixing

Hinzufügen Ordner Vererbung
This commit is contained in:
2024-06-04 12:05:14 +02:00
parent 8321a25ffc
commit 334de0223c
3 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ namespace Exercises_C_Sharp.Schulaufgaben
static int[,] SetField(int[,] arr, (int x, int y) field, int value)
{
if(arr.GetLength(0) > field.x && arr.GetLength(0) > field.x)
if(arr.GetLength(0) > field.x && arr.GetLength(0) > field.y)
arr[field.x, field.y] = value;
return arr;
}