摘要:
产生一个int数组,长度为100,并向其中随机插入1-100,并且不能重复。(两种方法) 1, List<int> myList = new List<int>(); Random ran = new Random(); while (myList.Count<100) { int num = ra 阅读全文
摘要:
一个数组:1,1,2,3,5,8,13,21...+m; static void Main(string[] args) { Console.Write("输入想求的斐波那契数列项数:"); int n = Convert.ToInt32(Console.ReadLine()); //递归实现 Co 阅读全文