摘要:
using System;using System.Collections.Generic;using System.Collections;class Program{ static void Main(string[] args) { //第一个例子 //int counter = 0; //IEnumerableint values = Utilities.Generate(10, () = counter++); //Console.WriteLine("Current Counter: {0}", counter); //foreach (int num in values) 阅读全文