group.user.Remove(currentUser);
for(int i=0;i<group.user.Count;i++)
{
if (group.user[i] == currentUser)
group.user.RemoveAt(i);
}
public static bool operator !=(User a, User b)
{
if (a.FirstName != b.FirstName && a.SecondName != b.SecondName && a.ThirdName != b.ThirdName)
{
return false;
}
else return true;
}
return !(a == b)