while (true && !result.All(x => x.Contains("語文課") && ...)) { ... }
while (true && condition) 恆為 true,**條件判斷被短路**,循環永不退出,CPU 100%。
while (!result.All(x => x.Contains("語文課") && x.Contains("數學課") && x.Contains("英語課"))) { ... }
true 佔位符**必須在提交前刪除**。do-while 或 for(;;) 時,**循環體內必須有明確 break/return 條件**。