Is foreach purely “syntactic sugar”?

前端 未结 5 1402
南旧
南旧 2020-12-06 10:32

The compiler compiles a foreach loop into something like a for loop when the foreach is used with an array. And the compiler compile

5条回答
提交回复
热议问题