For some HomeWork, I need to make a Tic-Tac-Toe game. I make the game with no problems, but now I need to control if a player as win. For that purpose, I need to compare some Char present in an array. So I set up a test with an "if", but it sends me an error (CS0019 in Visual Studio) that says I cannot compare char and expect a bool output. How do I circumvent that?
if ((casesMorpion[0, 0]) != (casesMorpion[1, 0]) != (casesMorpion[2, 0]))
{
V1 = true;
}