using System.Collections.Generic;
using System.Threading.Tasks;
namespace Random100.Zeeslgagje
public static void Main(string[] args)
var array = new string[10,10];
Console.WriteLine("choose your X coordinate");
int b = int.Parse(Console.ReadLine());
Console.WriteLine("choose your Y coordinate");
int a = int.Parse(Console.ReadLine());
chooseCoord(array, a, b);
Console.WriteLine("Press any key to continue or ESC to close");
if (Console.ReadKey().Key == ConsoleKey.Escape)
public static void createArray(string[,] arr)
for (int i = 0; i < 10; i++)
for (int j = 0; j < 10; j++)
public static void displayArray(string[,] arr)
for (int i = 0; i < 10; i++)
for (int j = 0; j < 10; j++)
Console.Write(arr[i, j]);
public static void chooseCoord(string [,] arr, int a, int b)