摘要:
Dictionary<int, string> dic = new Dictionary<int, string>(); dic.Add(1, "睛睛青"); dic[2] = "sb"; foreach (KeyValuePair<int, string> kup in dic) { Consol 阅读全文
摘要:
//使用多态求矩形的面积和周长以及圆形的面积我周长 Shape shape = new Circle(5); //new Square(5,6); double area = shape.GetArea(); double perimeter = shape.GetPerimeter(); Cons 阅读全文