C# pain (does anyone actchaly use c# on replit?)

Question:so i tryed use a method i made but it dose not work it tells me "can not convert type bool to bool[,]"and i whant to need to use the aray for it to work.


Repl link:https://replit.com/@Josephyc/ticktactoe

ceackforablock(ticktactoebourd[0,0]);
1 Like

I think you want just ticktactoebourd and not [0,0]. You also need to make the ceackforablock function static:

static public bool ceackforablock(bool[,] inputaray)

thank you
@UMARismyname

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.