I have this list:
List<Utilizadores> LU = new List<Utilizadores>();
and when i try to do this:
for (int i = 0; i < LU.Count(); i++)
{
if (LU[i].getUsername() == username)
{
LU.Remove[i];
return true;
}
}
it gives me this error:
"Only assignment, call, increment, decrement, and new object expression can be used as a statement"
What can it be?
Aucun commentaire:
Enregistrer un commentaire