From 469e05c37a7b1eeefefe880c2f563fa6c6696d49 Mon Sep 17 00:00:00 2001 From: marcusferl Date: Sat, 17 Dec 2022 19:18:51 +0100 Subject: [PATCH] ... --- day4.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/day4.cs b/day4.cs index 4cbb5b5..de7e1c4 100644 --- a/day4.cs +++ b/day4.cs @@ -48,7 +48,7 @@ class day4 foreach(Field field in fields) { - field.markNumber("1"); + field.markNumber("13"); field.printField(); field.checkBingo(); @@ -76,7 +76,7 @@ class Field{ { for (int j = 0; j < 5; j++) { - if (bingoField[i, j].Contains(markNumber)) + if (bingoField[i, j].Contains($"[{markNumber}]")) { bingoField[i, j] = $"[X{markNumber}]"; }