摘要:从基类开始构造对象。 public class MyBaseClass { public MyBaseClass() { Console.WriteLine("In MyBaseClass()"); } public MyBaseClass(int i) { Console.WriteLine("I
阅读全文
摘要:Math.random():获取0~1随机数Math.floor() method rounds a number DOWNWARDS to the nearest integer, and returns the result. (小于等于 x,且与 x 最接近的整数。)其实返回值就是该数的整数位...
阅读全文