摘要:
第一代,不是很完善,会在后续增加更多的功能 主: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 阅读全文
posted @ 2016-11-26 14:42
丶白
阅读(6911)
评论(0)
推荐(0)
摘要:
一、封装 目的:保护类,让类更加安全。 做法:让类里面的成员变量变为私有(即访问修饰符)的,做相应的方法或者属性去间接的操作成员变量 ※访问修饰符 private 私有的 只能在该类中访问 protected 受保护的 只能在该类和它的子类中访问 public 公有的 在任何地方都可以访问 inte 阅读全文
posted @ 2016-11-26 11:15
丶白
阅读(270)
评论(0)
推荐(0)
浙公网安备 33010602011771号