摘要: usingSystem;usingSystem.Collections.Generic;namespaceConsoleApplication3{classProgram{privatestaticList<int>resultList=newList<int>(){0,1};staticvoidMain(string[]args){intnum=89;//给出一个数,使用递归计算出该数前的菲波纳奇数字序列,并判断是否是菲波纳奇数字try{TestMethod(num,resultList.Count-1);foreach(intiteminresultList){Co 阅读全文
posted @ 2011-04-22 14:46 MrNobody_123456 阅读(216) 评论(0) 推荐(0) 编辑