C# Yield behaviour

后端 未结 0 885
眼角桃花
眼角桃花 2021-01-26 07:01

Why this do not work in c# (the Python version works simpler and fine)

IEnumerable f(){
   yield return "one...";
   yield return "tw         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题