摘要:
看了官方的、网上其他的,写了2个demo,只不过还是没发现哪里会用到。IEnumerable和IEnumerator都是System.Collections下的接口,结构分别如下:namespace System.Collections{ public interface IEnumerabl... 阅读全文
摘要:
static void Main(string[] args) { //输出:2 4 8 16 32 64 128 256 foreach (int i in Power(2, 8)) { ... 阅读全文