摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Drawing;using System.ComponentModel;using System.Windows.Forms;namespace test{ public class father { protected int m=1; //private int a = 2; //受保护的字段可以被继承类访问,但是私有字段不可以 } public class son: 阅读全文
posted @ 2011-09-27 16:11 湾仔小新 阅读(212) 评论(0) 推荐(0) 编辑