我有一个While loop读作 aline的 a file.txt。我还有一个名为的方法,如果返回值为 ,则VerifyPhoto返回true/false我想转到下一项。我怎么能这样做?我试过了,但它只是把所有东西都留给了......while loopfalsebreakreturnform
while (!reader.EndOfStream)
{
if(VerifyPhoto(filed.matriculation) == false)
{
//go to the next line of the file.txt
}
}