2012年8月18日

类的继承实例讲解

摘要: 类的继承实例讲解using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 类的继承{public class Program{public static void Main(string[] args){人 ren = new 人();ren.物种 = "高等生物";ren.脚的数量 = 2;ren.Eat();ren.Name = "张三";ren.Age = 15;Console.WriteLine("我叫{0},我 阅读全文

posted @ 2012-08-18 09:49 zieyee 阅读(135) 评论(0) 推荐(0)

导航