摘要: 创建一个学生类public class Student{ protected string name; protected string stuID; protected int score; public St... 阅读全文
posted @ 2017-12-20 16:06 养鼠的猫 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 用Stopwatch来记录时间,不过要使用,必须引入System.Diagnostics Stopwatch sw1_1 = new Stopwatch ();Stopwatch sw2_1 = new Stop... 阅读全文
posted @ 2017-12-20 11:43 养鼠的猫 阅读(364) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Collections;public static class MathMethod { p... 阅读全文
posted @ 2017-12-20 11:02 养鼠的猫 阅读(124) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections;using System.Collections.Generic;/* * 定义泛型类MyList,该类模拟一个动态数组,可以用来存T... 阅读全文
posted @ 2017-12-20 09:53 养鼠的猫 阅读(143) 评论(0) 推荐(0) 编辑