Why does foreach fail to find my GetEnumerator extension method?

前端 未结 8 2189
暗喜
暗喜 2021-02-18 21:19

I\'m trying to make some code more readable. For Example foreach(var row in table) {...} rather than foreach(DataRow row in table.Rows) {...}.

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