Dont understand what's the problem here, I have been trying to trouble shoot this for half an hour. First time using foreach loop, and I am getting a cannot convert type 'char' to 'char[]' what does this mean? pretty new to programming.
namespace X_O_spel { class Program { static void Main(string[] args) { char[,] spelBoard = new char[,] { {' ', '|', ' ', '|', ' '}, {'-', '+', '-', '+', '-'}, {' ', '|', ' ', '|', ' '}, {'-', '+', '-', '+', '-'}, {' ', '|', ' ', '|', ' '},}; foreach(char[] row in spelBoard) { foreach(char c in row) { Console.Write(c); } } } } }