public static void Main()
bool CoffeeNotFound = true;
String[,] Towerblock = {{"T1", "T2", "T3", "T4"}, {"T11", "T12", "T13", "T14"}, {"T21", "T22", "T23", "T24"}, {"T31", "T32", "T33", "T34"}};
for (int x = 0; x < Towerblock.GetLength(0); x++)
for (int y = 0; y < Towerblock.GetLength(1); y++)
if (Towerblock[x, y] == "Coffee")
if (CoffeeNotFound == false)
Console.WriteLine("The coffee is in T" + x + y);
if (CoffeeNotFound == true)
Console.WriteLine("The coffee was not in the tower block");