private IEnumerable<string> Tables { get { yield return "Foo"; yield return "Bar"; } }
假设我想迭代那些并写一些像#m的#n处理.
有没有一种方法可以在我的主迭代之前找到m的值而不进行迭代?
我希望我清楚自己.
.net c# ienumerable
.net ×1
c# ×1
ienumerable ×1