I'm trying to convert the first index of a string to a int but I can't. Can someone explain how to access the index of a string and convert it to an int?
string a = "5"
public static bool VerificacaoNumero(string a, int[,] tabuleiro)
{
int b = a[0];
return true;
}