i have been having trouble getting this code to work is there something wrong with it or am i just doing it wrong
string a = teams[1];
string b = wins[1];
int numWins = 0;
while (o < wins.Length)
{
if (a != b)
{
numWins++;
}
o++;
}
numOfWinsLabel.Text = numWins.ToString();
it is adding to the counter when both of them are equal in the txt files that i have set
Can someone plz help me?