在迭代器块中用于向枚举数对象提供值或发出迭代结束信号。它的形式为:
yield return <expression>;
yield break;
Powered by: 博客园 Copyright © 2024 枫之一刀 Powered by .NET 8.0 on Kubernetes