Bugfixing
Hinzufügen Ordner Vererbung
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user