0
warglaivee:
//TODO-PRINT BIGGEST MATRIX
Console.WriteLine($"Sum = {cacheSums.Pop()}");
Console.WriteLine($"{matrix[rowIndex - 1, colIndex - 1]} " +
$"{matrix[rowIndex - 1, colIndex]} " +
$"{matrix[rowIndex - 1, colIndex + 1]}");
Console.WriteLine($"{matrix[rowIndex, colIndex - 1]} " +
$"{matrix[rowIndex, colIndex]} " +
$"{matrix[rowIndex, colIndex + 1]}");
Console.WriteLine($"{matrix[rowIndex + 1, colIndex - 1]} " +
$"{matrix[rowIndex + 1, colIndex]} " +
$"{matrix[rowIndex + 1, colIndex + 1]}");
Console.WriteLine($"Sum = {cacheSums.Pop()}");
Console.WriteLine($"{matrix[rowIndex - 1, colIndex - 1]} " +
$"{matrix[rowIndex - 1, colIndex]} " +
$"{matrix[rowIndex - 1, colIndex + 1]}");
Console.WriteLine($"{matrix[rowIndex, colIndex - 1]} " +
$"{matrix[rowIndex, colIndex]} " +
$"{matrix[rowIndex, colIndex + 1]}");
Console.WriteLine($"{matrix[rowIndex + 1, colIndex - 1]} " +
$"{matrix[rowIndex + 1, colIndex]} " +
$"{matrix[rowIndex + 1, colIndex + 1]}");